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

Commit 213dd8bd authored by Yuling Liu's avatar Yuling Liu Committed by android-build-merger
Browse files

Merge \"Fix: updateExternalState() does not update SIM state to PERM_DISABLED\"

am: 6a7fad75

Change-Id: I3ae9b508408a5d2cd6993ec558f9f33dd4dbd8e4
parents b2354f78 6a7fad75
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -403,6 +403,11 @@ public class IccCardProxy extends Handler implements IccCard {
                setExternalState(State.PIN_REQUIRED);
                break;
            case APPSTATE_PUK:
                PinState pin1State = mUiccApplication.getPin1State();
                if (pin1State.isPermBlocked()) {
                    setExternalState(State.PERM_DISABLED);
                    return;
                }
                setExternalState(State.PUK_REQUIRED);
                break;
            case APPSTATE_SUBSCRIPTION_PERSO: