Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 784eb36b authored by Wink Saville's avatar Wink Saville
Browse files

Telephony: Fix NV ready state

Don't trigger RuimRecords onReady so that it doesn't overwrite
mccmnc property value set by CdmaPhone in NV case.

Bug: 6153667
Change-Id: I2f25f6a69deecd085f11dbe1dbf752c2fd51cecb
parent 63c115c4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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();
        }