diff options
author | Brian Colonna <bcolonna@google.com> | 2012-04-11 18:35:22 -0400 |
---|---|---|
committer | Brian Colonna <bcolonna@google.com> | 2012-04-11 18:35:22 -0400 |
commit | c3cd2500a535aeba8e8ce2876844542829dd8e68 (patch) | |
tree | b35cd89923fcbdb6a00c16126e8a8e4148a41ec4 /policy/src/com | |
parent | 50a926789f9ec335f72346a3a1c922729a301f34 (diff) | |
download | frameworks_base-c3cd2500a535aeba8e8ce2876844542829dd8e68.zip frameworks_base-c3cd2500a535aeba8e8ce2876844542829dd8e68.tar.gz frameworks_base-c3cd2500a535aeba8e8ce2876844542829dd8e68.tar.bz2 |
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
Diffstat (limited to 'policy/src/com')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |