Bug 845734 - Blocklist Sony JB devices for Stagefright decoding - r=bjacob

--HG--
extra : rebase_source : 4acad58a3f5ddcf073f21f8e581e5f5e5660747f
This commit is contained in:
Chris Double 2013-04-23 08:11:48 +12:00
parent 035e100d7f
commit 19cddc86b2

View File

@ -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;