Loading src/java/com/android/internal/telephony/GsmCdmaPhone.java +10 −11 Original line number Diff line number Diff line Loading @@ -2278,18 +2278,17 @@ public class GsmCdmaPhone extends Phone { break; case EVENT_SIM_RECORDS_LOADED: if (isPhoneTypeGsm()) { updateCurrentCarrierInProvider(); // Check if this is a different SIM than the previous one. If so unset the // voice mail number. String imsi = getVmSimImsi(); String imsiFromSIM = getSubscriberId(); if (imsi != null && imsiFromSIM != null && !imsiFromSIM.equals(imsi)) { if ((!isPhoneTypeGsm() || imsi != null) && imsiFromSIM != null && !imsiFromSIM.equals(imsi)) { storeVoiceMailNumber(null); setVmSimImsi(null); } } mSimRecordsLoadedRegistrants.notifyRegistrants(); break; Loading Loading
src/java/com/android/internal/telephony/GsmCdmaPhone.java +10 −11 Original line number Diff line number Diff line Loading @@ -2278,18 +2278,17 @@ public class GsmCdmaPhone extends Phone { break; case EVENT_SIM_RECORDS_LOADED: if (isPhoneTypeGsm()) { updateCurrentCarrierInProvider(); // Check if this is a different SIM than the previous one. If so unset the // voice mail number. String imsi = getVmSimImsi(); String imsiFromSIM = getSubscriberId(); if (imsi != null && imsiFromSIM != null && !imsiFromSIM.equals(imsi)) { if ((!isPhoneTypeGsm() || imsi != null) && imsiFromSIM != null && !imsiFromSIM.equals(imsi)) { storeVoiceMailNumber(null); setVmSimImsi(null); } } mSimRecordsLoadedRegistrants.notifyRegistrants(); break; Loading