diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-09-16 15:53:42 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-09-18 00:39:13 +0000 |
commit | 95e4038bb127fdd41bd3b11373a6d2328facb850 (patch) | |
tree | 9db8d4b7aaa266f990d1384686bf361512be2ca1 /packages/SystemUI/src/com/android/systemui/keyguard | |
parent | 2ebcf2c28fd1657a98a7dc4a90bcbe7e78f296e9 (diff) | |
download | frameworks_base-95e4038bb127fdd41bd3b11373a6d2328facb850.zip frameworks_base-95e4038bb127fdd41bd3b11373a6d2328facb850.tar.gz frameworks_base-95e4038bb127fdd41bd3b11373a6d2328facb850.tar.bz2 |
Start fingerprint authentication in onStartedGoingToSleep
We used to start fingerprint authentication in onFinishedGoingToSleep.
This was a UX issue because then users couldn't place the finger on
the sensor immediately after pressing the power button because
onFinishedGoingToSleep is significantly delayed (around 900ms after
pressing the power button).
Bug: 23570959
Change-Id: I0bf557ebd10e6a8b033ab98a78aa338bf6538dcc
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/keyguard')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 33c59f8..eca6b1c 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -677,6 +677,7 @@ public class KeyguardViewMediator extends SystemUI { playSounds(true); } } + KeyguardUpdateMonitor.getInstance(mContext).dispatchStartedGoingToSleep(why); notifyStartedGoingToSleep(); } |