Bug 879172 - Recognize a device as Sony as soon as its Manufacturer string contains Sony as substring - r=joe, CLOSED TREE
authorBenoit Jacob <bjacob@mozilla.com>
Tue, 11 Jun 2013 14:55:13 -0400
changeset 134687 34d230cab71c43206c7420cd95b7241ccf57b0f8
parent 134686 cf5205662535d9899e747956416945aaaaff4beb
child 134688 43fd73efefca072688e0967777ac868680459edf
push id29334
push userbjacob@mozilla.com
push dateTue, 11 Jun 2013 20:55:34 +0000
treeherdermozilla-inbound@34d230cab71c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjoe, CLOSED
bugs879172
milestone24.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 879172 - Recognize a device as Sony as soon as its Manufacturer string contains Sony as substring - r=joe, CLOSED TREE
widget/android/GfxInfo.cpp
--- a/widget/android/GfxInfo.cpp
+++ b/widget/android/GfxInfo.cpp
@@ -478,17 +478,17 @@ GfxInfo::GetFeatureStatusImpl(int32_t aF
           cModel.Find("SPH-L710", true) != -1 ||
           cModel.Find("GT-I8190", true) != -1 ||
           cModel.Find("GT-P3100", true) != -1 ||
           cModel.Find("GT-P3110", true) != -1 ||
           cModel.Find("GT-P3113", true) != -1 ||
           cModel.Find("GT-P5100", true) != -1 ||
           cModel.Find("GT-P5110", true) != -1 ||
           cModel.Find("GT-P5113", true) != -1 ||
-          cManufacturer.Equals("Sony", nsCaseInsensitiveCStringComparator());
+          cManufacturer.Find("Sony", true) != -1;
 
         if (isBlocklisted) {
           *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
           return NS_OK;
         }
       }
     }
   }