Bug 845729 - Blocklist some Samsung ICS qcom devices for stagefright decoding - r=bjacob
This commit is contained in:
@@ -426,7 +426,10 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
|||||||
else if (CompareVersions(mOSVersion.get(), "4.1.0") < 0)
|
else if (CompareVersions(mOSVersion.get(), "4.1.0") < 0)
|
||||||
{
|
{
|
||||||
// Whitelist:
|
// 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
|
// All Galaxy nexus ICS devices
|
||||||
// Sony Xperia Ion (LT28) ICS devices
|
// Sony Xperia Ion (LT28) ICS devices
|
||||||
bool isWhitelisted =
|
bool isWhitelisted =
|
||||||
@@ -434,6 +437,13 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
|||||||
cManufacturer.Equals("samsung", nsCaseInsensitiveCStringComparator()) ||
|
cManufacturer.Equals("samsung", nsCaseInsensitiveCStringComparator()) ||
|
||||||
cModel.Equals("galaxy nexus", nsCaseInsensitiveCStringComparator()); // some Galaxy Nexus have manufacturer=amazon
|
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) {
|
if (!isWhitelisted) {
|
||||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
|
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user