OSDN Git Service

Start fingerprint authentication in onStartedGoingToSleep
authorJorim Jaggi <jjaggi@google.com>
Wed, 16 Sep 2015 22:53:42 +0000 (15:53 -0700)
committerJorim Jaggi <jjaggi@google.com>
Fri, 18 Sep 2015 00:39:13 +0000 (00:39 +0000)
commit95e4038bb127fdd41bd3b11373a6d2328facb850
tree9db8d4b7aaa266f990d1384686bf361512be2ca1
parent2ebcf2c28fd1657a98a7dc4a90bcbe7e78f296e9
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
packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitorCallback.java
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java