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

Commit 6ba6b8cf authored by Roman Birg's avatar Roman Birg
Browse files

SystemUI: respect profile after unlocking SIM PIN



We should hide the keyguard after the user has input their SIM PIN if
the profile (or ourselves) say so.

Ref: CYNGNOS-1930

Change-Id: I6cb1478eebd4442346c4c0970729fbf7450b156c
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 8dbccff0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -516,7 +516,8 @@ public class KeyguardViewMediator extends SystemUI {
                    break;
                case READY:
                    synchronized (this) {
                        if (mInternallyDisabled && !mUpdateMonitor.isSimPinSecure()) {
                        if ((mInternallyDisabled || isProfileDisablingKeyguard())
                                && !mUpdateMonitor.isSimPinSecure()) {
                            hideLocked();
                        } else if (mShowing) {
                            resetStateLocked();