Bug 845639 - Remove stagefright blocklisting for Sony Xperia Ion - r=bjacob

--HG--
extra : rebase_source : a5859cad3437a67724d0041b25ef0829d680a7d3
This commit is contained in:
Chris Double 2013-03-05 14:42:22 +13:00
parent fdec60205c
commit f474d786b1

View File

@ -396,7 +396,12 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
} }
else if (CompareVersions(mOSVersion.get(), "4.1.0") < 0) else if (CompareVersions(mOSVersion.get(), "4.1.0") < 0)
{ {
// Whitelist:
// All Samsung ICS devices
// All Galaxy nexus ICS devices
// Sony Xperia Ion (LT28) ICS devices
bool isWhitelisted = bool isWhitelisted =
cModel.Equals("LT28h", nsCaseInsensitiveCStringComparator()) ||
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