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

Commit 6a7fad75 authored by Amit Mahajan's avatar Amit Mahajan Committed by Gerrit Code Review
Browse files

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

parents f80c9f7a 60121181
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -419,6 +419,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: