diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-09-10 14:36:19 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-09-11 01:54:10 +0000 |
commit | 3cf7eef1b1890131902447465a343484e23e2115 (patch) | |
tree | 9276da41553f5639630c61a7a2f84bc8dc6d4efa /packages/Keyguard/src/com/android/keyguard | |
parent | 6e90ea03365c6baddc13762c5a701b84540d8bf9 (diff) | |
download | frameworks_base-3cf7eef1b1890131902447465a343484e23e2115.zip frameworks_base-3cf7eef1b1890131902447465a343484e23e2115.tar.gz frameworks_base-3cf7eef1b1890131902447465a343484e23e2115.tar.bz2 |
Listen for fingerprint when on bouncer
To make unlocking work if keyguard is in occluded state and user
taps on a notification.
Bug: 22855718
Change-Id: Ide632f524a635e3e37741abaa77e258394c9a6e2
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java index b752c9b..47d8e28 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java @@ -1032,7 +1032,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener { } private boolean shouldListenForFingerprint() { - return (mKeyguardIsVisible || !mDeviceInteractive) && !mSwitchingUser + return (mKeyguardIsVisible || !mDeviceInteractive || mBouncer) && !mSwitchingUser && !mFingerprintAlreadyAuthenticated && !isFingerprintDisabled(getCurrentUser()); } @@ -1365,6 +1365,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener { cb.onKeyguardBouncerChanged(isBouncer); } } + updateFingerprintListeningState(); } /** |