Bug 845729 - Blocklist some Samsung ICS qcom devices for stagefright decoding - r=bjacob

--HG--
extra : rebase_source : 446b8dbbba7ed7aabe1cd761d4d7404a9a11f65c
This commit is contained in:
Chris Double 2013-04-23 08:10:31 +12:00
parent 12e9210d2a
commit 22160b515d

View File

@ -426,7 +426,10 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
else if (CompareVersions(mOSVersion.get(), "4.1.0") < 0)
{
// Whitelist:
// All Samsung ICS devices
// All Samsung ICS devices, except for:
// Samsing SGH-I717 (Bug 845729)
// Samsing SGH-I727 (Bug 845729)
// Samsing SGH-T989 (Bug 845729)
// All Galaxy nexus ICS devices
// Sony Xperia Ion (LT28) ICS devices
bool isWhitelisted =
@ -434,6 +437,13 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
cManufacturer.Equals("samsung", nsCaseInsensitiveCStringComparator()) ||
cModel.Equals("galaxy nexus", nsCaseInsensitiveCStringComparator()); // some Galaxy Nexus have manufacturer=amazon
if (cModel.Equals("SGH-I717", nsCaseInsensitiveCStringComparator()) ||
cModel.Equals("SGH-I727", nsCaseInsensitiveCStringComparator()) ||
cModel.Equals("SGH-T989", nsCaseInsensitiveCStringComparator()))
{
isWhitelisted = false;
}
if (!isWhitelisted) {
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
return NS_OK;