diff options
author | Adrian Roos <roosa@google.com> | 2018-11-20 16:57:33 +0100 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-11-27 14:47:38 +0100 |
commit | 2aaf94484ebfd7a19a22b490b42925ee7d916795 (patch) | |
tree | 39e2c385da4454e63c7ce741b88017f2c9174957 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 211af382c2b8eb171fb8995d0fc703fcd7089533 (diff) |
Keyguard: Fix leaking fingerprint registration
Fixes an issue where the fingerprint registration could leak for the following
sequence of requests:
- shouldListen becomes true
- updateListening (STOPPED -> RUNNING)
- shouldListen becomes false
- updateListening (RUNNING -> CANCELLING)
- shouldListen becomes true
- updateListening (CANCELLING -> RESTARTING)
- shouldListen becomes false
- updateListening (nop, because RESTARTING is not considered a running state)
- handleFingerprintError(reason=CANCELLED) wrongly restarts listening
Bug: 119813074
Test: Verify fingerprint unlocking still works. Verify fingerprint listening does not get stuck after unlocking via bouncer.
Change-Id: Ibd1bf3a161164586466d2b1d965e53a648c7038b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions