Fix bug in isOperatorConsideredNonRoaming
Robert Greenwalt [Tue, 22 Oct 2013 22:30:05 +0000 (15:30 -0700)]
Mistakenly exits if the first check of many doesn't match.

bug:11136023
Change-Id: I04883d75f32214def360292c90b2f628c4e60991

src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java

index 5884aeb..0b75d49 100644 (file)
@@ -1367,8 +1367,6 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
         for (String numeric : numericArray) {
             if (operatorNumeric.startsWith(numeric))
                 return true;
-            else
-                return false;
         }
         return false;
     }