Loading src/java/com/android/internal/telephony/SubscriptionInfoUpdater.java +12 −1 Original line number Diff line number Diff line Loading @@ -340,7 +340,7 @@ public class SubscriptionInfoUpdater extends Handler { break; case EVENT_SIM_IO_ERROR: updateCarrierServices(msg.arg1, IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR); handleSimError(msg.arg1); break; case EVENT_SIM_RESTRICTED: Loading Loading @@ -515,6 +515,17 @@ public class SubscriptionInfoUpdater extends Handler { updateCarrierServices(slotId, IccCardConstants.INTENT_VALUE_ICC_ABSENT); } private void handleSimError(int slotId) { if (mIccId[slotId] != null && !mIccId[slotId].equals(ICCID_STRING_FOR_NO_SIM)) { logd("SIM" + (slotId + 1) + " Error "); } mIccId[slotId] = ICCID_STRING_FOR_NO_SIM; if (isAllIccIdQueryDone()) { updateSubscriptionInfoByIccId(); } updateCarrierServices(slotId, IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR); } /** * TODO: Simplify more, as no one is interested in what happened * only what the current list contains. Loading Loading
src/java/com/android/internal/telephony/SubscriptionInfoUpdater.java +12 −1 Original line number Diff line number Diff line Loading @@ -340,7 +340,7 @@ public class SubscriptionInfoUpdater extends Handler { break; case EVENT_SIM_IO_ERROR: updateCarrierServices(msg.arg1, IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR); handleSimError(msg.arg1); break; case EVENT_SIM_RESTRICTED: Loading Loading @@ -515,6 +515,17 @@ public class SubscriptionInfoUpdater extends Handler { updateCarrierServices(slotId, IccCardConstants.INTENT_VALUE_ICC_ABSENT); } private void handleSimError(int slotId) { if (mIccId[slotId] != null && !mIccId[slotId].equals(ICCID_STRING_FOR_NO_SIM)) { logd("SIM" + (slotId + 1) + " Error "); } mIccId[slotId] = ICCID_STRING_FOR_NO_SIM; if (isAllIccIdQueryDone()) { updateSubscriptionInfoByIccId(); } updateCarrierServices(slotId, IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR); } /** * TODO: Simplify more, as no one is interested in what happened * only what the current list contains. Loading