summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2014-04-01 15:07:09 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-04-01 15:07:10 +0000
commitdf42723d6b717fd2882c98c930a0f93c75af2474 (patch)
tree130cca07cc92b207ffa58fa2c08f5e9879afa27e /packages
parent779b0eea300509ef072a8aa043a3c486d565110b (diff)
parent945490c12e32b1c13b9097c00702558260b2011f (diff)
downloadframeworks_base-df42723d6b717fd2882c98c930a0f93c75af2474.zip
frameworks_base-df42723d6b717fd2882c98c930a0f93c75af2474.tar.gz
frameworks_base-df42723d6b717fd2882c98c930a0f93c75af2474.tar.bz2
Merge "Don't double prompt on booting encrypted device"
Diffstat (limited to 'packages')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java b/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
index c3aa47f..354d13f 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
@@ -981,6 +981,13 @@ public class KeyguardViewMediator {
return;
}
+ if (mLockPatternUtils.checkVoldPassword()) {
+ if (DEBUG) Log.d(TAG, "Not showing lock screen since just decrypted");
+ // Without this, settings is not enabled until the lock screen first appears
+ hideLocked();
+ return;
+ }
+
if (DEBUG) Log.d(TAG, "doKeyguard: showing the lock screen");
showLocked(options);
}