commit | 1fcafc49ad34cb8f778862653d452ac0fe61461c | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Mon Jul 20 14:39:25 2015 -0700 |
committer | Selim Cinek <cinek@google.com> | Thu Jul 23 15:27:32 2015 -0700 |
tree | 5f2a9e3029c0c18f89b70366a43fbb419637da4a | |
parent | a2bf7616044051769df86cf5f0bb4b21dedd5269 [diff] [blame] |
Adapted the behavior when unlocking with fingerprint is not allowed We now keep the fingerprint running and switch to the bouncer when the user successfully authenticated. Bug: 21618072 Change-Id: If00061cb3914afd4d7a7d75964594484c792a890
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java index f31311d..c8c45e3 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java
@@ -133,6 +133,9 @@ @Override public void onFingerprintAuthenticated(int userId, boolean wakeAndUnlocking) { + if (!mKeyguardUpdateMonitor.isUnlockingWithFingerprintAllowed()) { + return; + } update(false /* updateAlways */); }