Fingerprint wakeup: more consistent behavior
- Bump allowed fingerprint attempts from 2 to 3, this is more inline with
other biometric unlocks (like face unlock).
- Request to listen to fingerprint events both when keygaurd becomes
visible and when the screen turned on. This catches some race conditions
when the screen is quickly turned off and on and we'd end up in a state
where we are not listening to fingerprints.
- Treat failed attempts the same whether screen is off or screen is on.
- When fingerprint is recognized, hide the keyguard the same way,
whether screen was off or on
Ref: CYNGNOS-895
Change-Id: I55c255d7b06222a44a3bc3e2e5173ca1408d3aeb
Signed-off-by:
Roman Birg <roman@cyngn.com>
Loading
Please register or sign in to comment