Loading src/java/com/android/internal/telephony/uicc/IccCardProxy.java +2 −10 Original line number Diff line number Diff line Loading @@ -201,22 +201,15 @@ public class IccCardProxy extends Handler implements IccCard { boolean oldQuietMode = mQuietMode; boolean newQuietMode; int cdmaSource = Phone.CDMA_SUBSCRIPTION_UNKNOWN; boolean isLteOnCdmaMode = TelephonyManager.getLteOnCdmaModeStatic() == PhoneConstants.LTE_ON_CDMA_TRUE; if (mCurrentAppType == UiccController.APP_FAM_3GPP) { newQuietMode = false; if (DBG) log("updateQuietMode: 3GPP subscription -> newQuietMode=" + newQuietMode); } else { if (isLteOnCdmaMode) { log("updateQuietMode: is cdma/lte device, force IccCardProxy into 3gpp mode"); mCurrentAppType = UiccController.APP_FAM_3GPP; } cdmaSource = mCdmaSSM != null ? mCdmaSSM.getCdmaSubscriptionSource() : Phone.CDMA_SUBSCRIPTION_UNKNOWN; newQuietMode = (cdmaSource == Phone.CDMA_SUBSCRIPTION_NV) && (mCurrentAppType == UiccController.APP_FAM_3GPP2) && !isLteOnCdmaMode; && (mCurrentAppType == UiccController.APP_FAM_3GPP2); } if (mQuietMode == false && newQuietMode == true) { Loading @@ -235,8 +228,7 @@ public class IccCardProxy extends Handler implements IccCard { } if (DBG) { log("updateQuietMode: QuietMode is " + mQuietMode + " (app_type=" + mCurrentAppType + " isLteOnCdmaMode=" + isLteOnCdmaMode + " cdmaSource=" + cdmaSource + ")"); + mCurrentAppType + " cdmaSource=" + cdmaSource + ")"); } mInitialized = true; sendMessage(obtainMessage(EVENT_ICC_CHANGED)); Loading Loading
src/java/com/android/internal/telephony/uicc/IccCardProxy.java +2 −10 Original line number Diff line number Diff line Loading @@ -201,22 +201,15 @@ public class IccCardProxy extends Handler implements IccCard { boolean oldQuietMode = mQuietMode; boolean newQuietMode; int cdmaSource = Phone.CDMA_SUBSCRIPTION_UNKNOWN; boolean isLteOnCdmaMode = TelephonyManager.getLteOnCdmaModeStatic() == PhoneConstants.LTE_ON_CDMA_TRUE; if (mCurrentAppType == UiccController.APP_FAM_3GPP) { newQuietMode = false; if (DBG) log("updateQuietMode: 3GPP subscription -> newQuietMode=" + newQuietMode); } else { if (isLteOnCdmaMode) { log("updateQuietMode: is cdma/lte device, force IccCardProxy into 3gpp mode"); mCurrentAppType = UiccController.APP_FAM_3GPP; } cdmaSource = mCdmaSSM != null ? mCdmaSSM.getCdmaSubscriptionSource() : Phone.CDMA_SUBSCRIPTION_UNKNOWN; newQuietMode = (cdmaSource == Phone.CDMA_SUBSCRIPTION_NV) && (mCurrentAppType == UiccController.APP_FAM_3GPP2) && !isLteOnCdmaMode; && (mCurrentAppType == UiccController.APP_FAM_3GPP2); } if (mQuietMode == false && newQuietMode == true) { Loading @@ -235,8 +228,7 @@ public class IccCardProxy extends Handler implements IccCard { } if (DBG) { log("updateQuietMode: QuietMode is " + mQuietMode + " (app_type=" + mCurrentAppType + " isLteOnCdmaMode=" + isLteOnCdmaMode + " cdmaSource=" + cdmaSource + ")"); + mCurrentAppType + " cdmaSource=" + cdmaSource + ")"); } mInitialized = true; sendMessage(obtainMessage(EVENT_ICC_CHANGED)); Loading