From 33086ccc59b7cdb41ca6212165cda72ec435417f Mon Sep 17 00:00:00 2001 From: Chris Double Date: Thu, 9 May 2013 06:10:21 +1200 Subject: [PATCH] Bug 868826 - Fix stagefright blocklist for JB devices - r=bjacob --- widget/android/GfxInfo.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/widget/android/GfxInfo.cpp b/widget/android/GfxInfo.cpp index 10a68e882b7f..86d21c709a88 100644 --- a/widget/android/GfxInfo.cpp +++ b/widget/android/GfxInfo.cpp @@ -472,17 +472,17 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature, // All Sony devices (Bug 845734) bool isBlocklisted = - cModel.Find("SCH-I535", true) || - cModel.Find("SGH-I747", true) || - cModel.Find("SGH-T999", true) || - cModel.Find("SPH-L710", true) || - cModel.Find("GT-I8190", true) || - cModel.Find("GT-P3100", true) || - cModel.Find("GT-P3110", true) || - cModel.Find("GT-P3113", true) || - cModel.Find("GT-P5100", true) || - cModel.Find("GT-P5110", true) || - cModel.Find("GT-P5113", true) || + cModel.Find("SCH-I535", true) != -1 || + cModel.Find("SGH-I747", true) != -1 || + cModel.Find("SGH-T999", true) != -1 || + 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()); if (isBlocklisted) {