summaryrefslogtreecommitdiffstats
path: root/policy/src/com
diff options
context:
space:
mode:
authorBrian Colonna <bcolonna@google.com>2012-04-11 18:35:22 -0400
committerBrian Colonna <bcolonna@google.com>2012-04-11 18:35:22 -0400
commitc3cd2500a535aeba8e8ce2876844542829dd8e68 (patch)
treeb35cd89923fcbdb6a00c16126e8a8e4148a41ec4 /policy/src/com
parent50a926789f9ec335f72346a3a1c922729a301f34 (diff)
downloadframeworks_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.java2
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);
}
}