Loading src/java/com/android/internal/telephony/uicc/UiccSlot.java +3 −0 Original line number Diff line number Diff line Loading @@ -373,6 +373,9 @@ public class UiccSlot extends Handler { } // no card present in the slot now; dispose port and then card if needed. disposeUiccCardIfNeeded(false /* sim state is not unknown */, portIndex); // If SLOT_STATUS is the last event, wrong subscription is getting invalidate during // slot switch event. To avoid it, reset the phoneId corresponding to the portIndex. mPortIdxToPhoneId.put(portIndex, INVALID_PHONE_ID); mLastRadioState.put(portIndex, TelephonyManager.RADIO_POWER_UNAVAILABLE); } Loading Loading
src/java/com/android/internal/telephony/uicc/UiccSlot.java +3 −0 Original line number Diff line number Diff line Loading @@ -373,6 +373,9 @@ public class UiccSlot extends Handler { } // no card present in the slot now; dispose port and then card if needed. disposeUiccCardIfNeeded(false /* sim state is not unknown */, portIndex); // If SLOT_STATUS is the last event, wrong subscription is getting invalidate during // slot switch event. To avoid it, reset the phoneId corresponding to the portIndex. mPortIdxToPhoneId.put(portIndex, INVALID_PHONE_ID); mLastRadioState.put(portIndex, TelephonyManager.RADIO_POWER_UNAVAILABLE); } Loading