Skip to content

Commit cbc41de

Browse files
Wink SavilleAndroid (Google) Code Review
authored andcommitted
Merge "Telephony: Fix NV ready state"
2 parents e802039 + 784eb36 commit cbc41de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

telephony/java/com/android/internal/telephony/IccCard.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,9 @@ private void handleIccCardStatus(IccCardStatus newCardStatus) {
580580
mHandler.sendMessage(mHandler.obtainMessage(EVENT_CARD_ADDED, null));
581581
}
582582

583-
if (oldState != State.READY && newState == State.READY) {
583+
// Call onReady only when SIM or RUIM card becomes ready (not NV)
584+
if (oldState != State.READY && newState == State.READY &&
585+
(is3gpp || isSubscriptionFromIccCard)) {
584586
mIccFileHandler.setAid(getAid());
585587
mIccRecords.onReady();
586588
}

0 commit comments

Comments
 (0)