зеркало из https://github.com/mozilla/gecko-dev.git
Bug 845734 - Blocklist Sony JB devices for Stagefright decoding - r=bjacob
--HG-- extra : rebase_source : 4acad58a3f5ddcf073f21f8e581e5f5e5660747f
This commit is contained in:
Родитель
41811e9fb0
Коммит
5449eb4690
|
@ -462,13 +462,16 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
|||
// Samsung GT-I8190 (Bug 812881)
|
||||
// Samsung SGH-I747M (Bug 812881)
|
||||
// Samsung SGH-I747 (Bug 812881)
|
||||
// All Sony devices (Bug 845734)
|
||||
|
||||
bool isBlocklisted =
|
||||
cModel.Equals("SAMSUNG-SPH-L710", nsCaseInsensitiveCStringComparator()) ||
|
||||
cModel.Equals("SAMSUNG-SGH-T999", nsCaseInsensitiveCStringComparator()) ||
|
||||
cModel.Equals("SAMSUNG-SCH-I535", nsCaseInsensitiveCStringComparator()) ||
|
||||
cModel.Equals("SAMSUNG-GT-I8190", nsCaseInsensitiveCStringComparator()) ||
|
||||
cModel.Equals("SAMSUNG-SGH-I747M", nsCaseInsensitiveCStringComparator()) ||
|
||||
cModel.Equals("SAMSUNG-SGH-I747", nsCaseInsensitiveCStringComparator());
|
||||
cModel.Equals("SAMSUNG-SGH-I747", nsCaseInsensitiveCStringComparator()) ||
|
||||
cManufacturer.Equals("Sony", nsCaseInsensitiveCStringComparator());
|
||||
|
||||
if (isBlocklisted) {
|
||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче