-
-
Save invisiblek/0ab25899d6853d5d5460 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/java/com/android/internal/telephony/SubInfoRecordUpdater.java b/src/java/com/android/internal/telephony/SubInfoRecordUpdater.java | |
index e49a962..31e36d6 100644 | |
--- a/src/java/com/android/internal/telephony/SubInfoRecordUpdater.java | |
+++ b/src/java/com/android/internal/telephony/SubInfoRecordUpdater.java | |
@@ -289,6 +289,8 @@ public class SubInfoRecordUpdater extends Handler { | |
if (sIccId[slotId] != null && !sIccId[slotId].equals(ICCID_STRING_FOR_NO_SIM)) { | |
logd("SIM" + (slotId + 1) + " hot plug out"); | |
sNeedUpdate = true; | |
+ } else { | |
+ sNeedUpdate = false; | |
} | |
sFh[slotId] = null; | |
sIccId[slotId] = ICCID_STRING_FOR_NO_SIM; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment