Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c630f33 authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

am 238b5c4e: am 9eac2c07: Merge "Work around for operator not being correct." into honeycomb-LTE

* commit '238b5c4e':
  Work around for operator not being correct.
parents 8d4857ce 238b5c4e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -478,6 +478,11 @@ public final class SIMRecords extends IccRecords {

        // Length = length of MCC + length of MNC
        // length of mcc = 3 (TS 23.003 Section 2.2)
        if (SystemProperties.getInt(com.android.internal.telephony.TelephonyProperties
                .PROPERTY_NETWORK_LTE_ON_CDMA, 0) == 1) {
            Log.e(LOG_TAG, "getSIMOperatorNumeric: STOPSHIP bad numeric operators in lte");
            return SystemProperties.get("ro.cdma.home.operator.numeric", "310004");
        }
        return imsi.substring(0, 3 + mncLength);
    }