diff options
Diffstat (limited to 'src/java/com')
-rwxr-xr-x | src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java b/src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java index 2554691..7d34325 100755 --- a/src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java +++ b/src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java @@ -95,6 +95,9 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { private int mNitzUpdateDiff = SystemProperties.getInt("ro.nitz_update_diff", NITZ_UPDATE_DIFF_DEFAULT); + private boolean mSubscribeOnRuimReady = SystemProperties.getBoolean( + "ro.cdma.subscribe_on_ruim_ready", false); + private boolean mCdmaRoaming = false; private int mRoamingIndicator; private boolean mIsInPrl; @@ -286,7 +289,7 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { // TODO: Consider calling setCurrentPreferredNetworkType as we do in GsmSST. // cm.setCurrentPreferredNetworkType(); - if (phone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) { + if (!mSubscribeOnRuimReady && phone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) { // Subscription will be read from SIM I/O if (DBG) log("Receive EVENT_RUIM_READY"); pollState(); |