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

Commit 54012eb0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "MSIM: Do not update subInfo if Uicc Card is null"

parents 8535d9ed bafde7d5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -295,7 +295,13 @@ public class SubInfoRecordUpdater extends Handler {
        UiccCard newCard = mUiccController.getUiccCard(slotId);
        if (newCard != null) {
            newState = newCard.getCardState();
        } else {
            // Uicc Card is null return from here, this would be called
            // again after reading the SIM Card status from RIL.
            Rlog.i(LOG_TAG, "updateIccAvailability: newCard is null, slotId " + slotId);
            return;
        }

        CardState oldState = sCardState[slotId];
        sCardState[slotId] = newState;
        logd("Slot[" + slotId + "]: New Card State = "