diff options
author | Wink Saville <wink@google.com> | 2011-03-26 16:50:17 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-03-26 16:50:17 -0700 |
commit | 9eac2c077a92a95d0b7a9c766d4c6ee92f625d2e (patch) | |
tree | 5d2ec19c466d7e8c57ccb7cf09c8fcc73887b858 /telephony | |
parent | 3420f85cc65af8e3ec6c651667c8cffbac60ba4e (diff) | |
parent | 2a3aa2a32ea63b65805adb32dd5cadaa6c6d056a (diff) | |
download | frameworks_base-9eac2c077a92a95d0b7a9c766d4c6ee92f625d2e.zip frameworks_base-9eac2c077a92a95d0b7a9c766d4c6ee92f625d2e.tar.gz frameworks_base-9eac2c077a92a95d0b7a9c766d4c6ee92f625d2e.tar.bz2 |
Merge "Work around for operator not being correct." into honeycomb-LTE
Diffstat (limited to 'telephony')
-rwxr-xr-x | telephony/java/com/android/internal/telephony/gsm/SIMRecords.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/gsm/SIMRecords.java b/telephony/java/com/android/internal/telephony/gsm/SIMRecords.java index 11ce83e..e69989a 100755 --- a/telephony/java/com/android/internal/telephony/gsm/SIMRecords.java +++ b/telephony/java/com/android/internal/telephony/gsm/SIMRecords.java @@ -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); } |