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

Commit 5e5aa7b0 authored by Chen Xu's avatar Chen Xu Committed by Android (Google) Code Review
Browse files

Merge "no need to resolve carrier in sim locked state"

parents 22217071 7ff66858
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -135,12 +135,11 @@ public class CarrierResolver extends Handler {
        logd("[resolveSubscriptionCarrierId] simState: " + simState);
        switch (simState) {
            case IccCardConstants.INTENT_VALUE_ICC_ABSENT:
            case IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR:
                // only clear carrier id on absent to avoid transition to unknown carrier id during
                // intermediate states of sim refresh
                handleSimAbsent();
                break;
            case IccCardConstants.INTENT_VALUE_ICC_LOCKED:
                // intentional fall through from above case, treat locked same as loaded
            case IccCardConstants.INTENT_VALUE_ICC_LOADED:
                handleSimLoaded();
                break;