summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/keyguard
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-04-28 13:45:11 -0700
committerJorim Jaggi <jjaggi@google.com>2015-04-28 13:46:37 -0700
commitea65706d89dc1ab3f295eb53dca548ea39fcb456 (patch)
tree80acb2d8089dea27b58497e53c8ff9aac36e2b0b /packages/SystemUI/src/com/android/systemui/keyguard
parent27267d6869a4e970e7575f36d0de75e8cb663952 (diff)
downloadframeworks_base-ea65706d89dc1ab3f295eb53dca548ea39fcb456.zip
frameworks_base-ea65706d89dc1ab3f295eb53dca548ea39fcb456.tar.gz
frameworks_base-ea65706d89dc1ab3f295eb53dca548ea39fcb456.tar.bz2
Only listen for fingerprint if needed.
Clean up fingerprint listening lifecycle. Only listen for fingerprint if both screen is turned on and Keyguard is actually showing (not occluded). Change-Id: I169ce9df308b96487ed9dc5c8ad8f1c301f2ef93
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/keyguard')
-rw-r--r--packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
index b828e78..81068a0 100644
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
@@ -1393,14 +1393,9 @@ public class KeyguardViewMediator extends SystemUI {
updateActivityLockScreenState();
adjustStatusBarLocked();
sendUserPresentBroadcast();
- maybeStopListeningForFingerprint();
}
}
- private void maybeStopListeningForFingerprint() {
- mUpdateMonitor.stopListeningForFingerprint();
- }
-
private void adjustStatusBarLocked() {
if (mStatusBarManager == null) {
mStatusBarManager = (StatusBarManager)