From 61d9409239c5ed360ffc2181eee6b981aad9192b Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Mon, 15 Sep 2014 15:27:19 -0700 Subject: Show the lockscreen when more than 1 user is present Bug:17399024 Change-Id: Iaf2ea2747cbcd9db45ba9faa7c8fe0389a799855 --- .../src/com/android/systemui/keyguard/KeyguardViewMediator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 50ba68e..9af893d 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -683,8 +683,7 @@ public class KeyguardViewMediator extends SystemUI { } private void maybeSendUserPresentBroadcast() { - if (mSystemReady && mLockPatternUtils.isLockScreenDisabled() - && !mUserManager.isUserSwitcherEnabled()) { + if (mSystemReady && mLockPatternUtils.isLockScreenDisabled()) { // Lock screen is disabled because the user has set the preference to "None". // In this case, send out ACTION_USER_PRESENT here instead of in // handleKeyguardDone() -- cgit v1.1