-
-
Save invisiblek/c1d7e13ecc5e0f701ebf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/java/com/android/internal/telephony/uicc/RuimRecords.java b/src/java/com/android/internal/telephony/uicc/RuimRecords.java | |
index 1556c32..03fc270 100644 | |
--- a/src/java/com/android/internal/telephony/uicc/RuimRecords.java | |
+++ b/src/java/com/android/internal/telephony/uicc/RuimRecords.java | |
@@ -40,6 +40,7 @@ import android.text.TextUtils; | |
import com.android.internal.telephony.CommandsInterface; | |
import com.android.internal.telephony.GsmAlphabet; | |
import com.android.internal.telephony.MccTable; | |
+import com.android.internal.telephony.PhoneConstants; | |
import com.android.internal.telephony.cdma.sms.UserData; | |
import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType; | |
@@ -258,6 +259,11 @@ public final class RuimRecords extends IccRecords { | |
return null; | |
} | |
+ if (TelephonyManager.getLteOnCdmaModeStatic() == | |
+ PhoneConstants.LTE_ON_CDMA_TRUE) { | |
+ return SystemProperties.get("ro.cdma.home.operator.numeric"); | |
+ } | |
+ | |
if (mMncLength != UNINITIALIZED && mMncLength != UNKNOWN) { | |
// Length = length of MCC + length of MNC | |
// length of mcc = 3 (3GPP2 C.S0005 - Section 2.3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment