Merge "Telephony: Fix NV ready state"

This commit is contained in:
Wink Saville
2012-04-09 14:22:13 -07:00
committed by Android (Google) Code Review

View File

@@ -580,7 +580,9 @@ public class IccCard {
mHandler.sendMessage(mHandler.obtainMessage(EVENT_CARD_ADDED, null));
}
if (oldState != State.READY && newState == State.READY) {
// Call onReady only when SIM or RUIM card becomes ready (not NV)
if (oldState != State.READY && newState == State.READY &&
(is3gpp || isSubscriptionFromIccCard)) {
mIccFileHandler.setAid(getAid());
mIccRecords.onReady();
}