From c3cd2500a535aeba8e8ce2876844542829dd8e68 Mon Sep 17 00:00:00 2001 From: Brian Colonna Date: Wed, 11 Apr 2012 18:35:22 -0400 Subject: Fix: FUL coming up when phone is powered off from lockscreen When FUL was enabled and the power was turned off from the lockscreen, either manually or by timing out, the lockscreen would turn back on and FUL would start. I believe this is due to a recently-added 'force' flag, which this commit removes. Change-Id: I314125fe52afe1536ab5a4600f39f563e1d58991 --- .../src/com/android/internal/policy/impl/LockPatternKeyguardView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'policy/src') diff --git a/policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java b/policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java index d42f96a..39ede89 100644 --- a/policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java +++ b/policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java @@ -818,7 +818,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { if (force || mUnlockScreen == null || unlockMode != mUnlockScreenMode) { boolean restartFaceLock = mFaceUnlock.stopIfRunning(); recreateUnlockScreen(unlockMode); - if (restartFaceLock || force) { + if (restartFaceLock) { mFaceUnlock.activateIfAble(mHasOverlay); } } -- cgit v1.1