diff options
author | Gabriele M <moto.falcon.git@gmail.com> | 2017-03-13 22:49:18 +0100 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-07 00:20:58 +0800 |
commit | afa7766d74a5974a4a0a8c7bd69391002b77e8f5 (patch) | |
tree | edb1f2fe9328adda9e52ccd4f0aee7955c3c025a /packages | |
parent | 3b51d540b309b151eec753fe3070d13bd955d2f4 (diff) |
SystemUI: Dismiss keyguard on boot if disabled by current profile
Properly dismiss keyguard on boot if the current profile has it
disabled, otherwise we will just show a black screen with just the
status bar and a navbar with only the back button.
BUGBASH-87
Change-Id: I14ed10ae9db40c32be22c1fb43f8a1719787d91b
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 8c28b6e354ec..25e21ad61138 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -1578,6 +1578,8 @@ public class KeyguardViewMediator extends SystemUI implements Dumpable, if (mLockPatternUtils.isLockScreenDisabled(KeyguardUpdateMonitor.getCurrentUser()) && !lockedOrMissing && !forceShow) { if (DEBUG) Log.d(TAG, "doKeyguard: not showing because lockscreen is off"); + setShowingLocked(false, mAodShowing); + hideLocked(); return; } |