Bug 845734 - Blocklist Sony JB devices for Stagefright decoding - r=bjacob
authorChris Double <chris.double@double.co.nz>
Tue, 23 Apr 2013 08:11:48 +1200
changeset 140458 c671215206cb9b8509a6ee772e2502141a63ec26
parent 140457 81535ab3be456e5be670aa326bb4b099e142fc89
child 140459 c9135550a85f6871a87c9eabed3d09bd0ebd34b1
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs845734
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 845734 - Blocklist Sony JB devices for Stagefright decoding - r=bjacob
widget/android/GfxInfo.cpp
--- a/widget/android/GfxInfo.cpp
+++ b/widget/android/GfxInfo.cpp
@@ -457,23 +457,26 @@ GfxInfo::GetFeatureStatusImpl(int32_t aF
         //   All JB phones except for those in blocklist below
         // Blocklist:
         //   Samsung SPH-L710 (Bug 812881)
         //   Samsung SGH-T999 (Bug 812881)
         //   Samsung SCH-I535 (Bug 812881)
         //   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;
           return NS_OK;
         }
       }
     }
   }