mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 12:32:55 +00:00
Bug 889433 - Blocklist h264 playback on Sony devices running Android 4.2 r=doublec
This commit is contained in:
parent
798df9c771
commit
7842f48a3d
@ -485,6 +485,14 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
else if (CompareVersions(mOSVersion.get(), "4.3.0") < 0)
|
||||
{
|
||||
// Blocklist all Sony devices
|
||||
if (cManufacturer.Find("Sony", true) != -1) {
|
||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user