summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-07-15 13:24:06 -0700
committerSelim Cinek <cinek@google.com>2015-07-16 17:23:26 -0700
commite8bae6288bf0f241f0cea70f2c5e8294f930d4d8 (patch)
treea1a35c510d1bcd8bf134fcf51f0826ef0cea778e /packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
parentd3719ab07a0ba66c019979ce19c45b77c4aae92e (diff)
downloadframeworks_base-e8bae6288bf0f241f0cea70f2c5e8294f930d4d8.zip
frameworks_base-e8bae6288bf0f241f0cea70f2c5e8294f930d4d8.tar.gz
frameworks_base-e8bae6288bf0f241f0cea70f2c5e8294f930d4d8.tar.bz2
Fixed a bug where a fingerprint animation was not running
Previously the fingerprint animation would not run when we successfully unlocked with the fingerprint, because we were checking for the wrong state. Bug: 22483380 Change-Id: I8d3ec303a43323431b8866df29ddd6d668edc1ed
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
index 23bd238..85da298 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
@@ -308,7 +308,8 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
boolean showNextSecurityScreenOrFinish(boolean authenticated) {
if (DEBUG) Log.d(TAG, "showNextSecurityScreenOrFinish(" + authenticated + ")");
boolean finish = false;
- if (mUpdateMonitor.getUserHasTrust(KeyguardUpdateMonitor.getCurrentUser())) {
+ if (mUpdateMonitor.getUserCanSkipBouncer(
+ KeyguardUpdateMonitor.getCurrentUser())) {
finish = true;
} else if (SecurityMode.None == mCurrentSecuritySelection) {
SecurityMode securityMode = mSecurityModel.getSecurityMode();