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

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

Merge "Fix IccId query after Modem reset."

parents 80c4ba3e 90f5ba57
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -336,8 +336,12 @@ public class SubscriptionInfoUpdater extends Handler {
            }
            queryIccId(slotId);
        } else if (oldState.isCardPresent() && newState.isCardPresent() &&
                (!subHelper.isApmSIMNotPwdn()) && (mIccId[slotId] == null)) {
                (((!subHelper.isApmSIMNotPwdn()) && (mIccId[slotId] == null)) ||
                (mIccId[slotId] != null && mIccId[slotId].equals(ICCID_STRING_FOR_NO_SIM)))) {
            // If old and new card state is present and ICCID is "", query the ICCID again
            // to process SET_UICC request
            logd("SIM" + (slotId + 1) + " powered up from APM ");
            mIccId[slotId] = null;
            mFh[slotId] = null;
            mNeedUpdate = true;
            queryIccId(slotId);