diff options
author | Curtis Belmonte <curtislb@google.com> | 2019-10-15 09:44:28 -0700 |
---|---|---|
committer | Curtis Belmonte <curtislb@google.com> | 2019-10-17 14:09:46 -0700 |
commit | 5cece5336229f5a15d481c8da02844e8307be0a4 (patch) | |
tree | 554592427866f592a1e6779984d16251a9f6afe0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d35f57130f2cdf5fbff5aad55697ccc7ac17243d (diff) |
Fix fingerprint listening delay when locking phone
Currently, when the user presses the power button to lock their phone,
there's a delay before the device starts listening for fingerprint to
unclock the phone again. This commit resets the keyguard going away
state earlier when the phone is going to sleep in order to remove this
delay. It also adds a new unit test to exercise this behavior.
Test: atest KeyguardViewMediatorTest
Test: Lock screen, quickly tap fingerprint, verify there is no delay
Fixes: 141445468
Change-Id: Ib2f7d956122eec39e5164e865001a08fa70f47cc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions