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

Commit 6a465d15 authored by Altaf-Mahdi's avatar Altaf-Mahdi Committed by Roman Birg
Browse files

Profiles: Disable lock screen after boot

This brings it inline with stock behavior and also fixes a couple of issues.
If lock screen was disabled via profiles, on boot you would end up with no home or recents buttons
and if you had a simpin set you would be faced with a black screen with no way to access the phone unless you
popped the sim out.

Ref: CYNGNOS-1930

Change-Id: I9f1f9f467647e31525a1179dc1a0ce7b9dc3285f
parent 2cad6607
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1214,6 +1214,11 @@ public class KeyguardViewMediator extends SystemUI {
        if (isKeyguardDisabled(KeyguardUpdateMonitor.getCurrentUser())
                && !lockedOrMissing) {
            if (DEBUG) Log.d(TAG, "doKeyguard: not showing because lockscreen is off");
            // update state
            mShowing = false;
            updateActivityLockScreenState();
            adjustStatusBarLocked();
            userActivity();
            return;
        }