fingerprint wakeup: improve state and error handling
Error handling:
When the screen is off and a failed fingerprint is processed, turn
the screen on directly to the bouncer.
When the maxmium number of attempts have been
reached, use a different vibration notifying the user they failed
the fingerprint and should continue using their backup method.
When the maximum number of attempts have been reached:
screen on: show bouncer if it's not showing on the last fail
screen off: turn screen on to bouncer, always
Other improvements:
Don't immediately start authenticating after a failed attempt,
requeue it to let the user lift their finger.
Handle initial boot up/SystemUI death cases by using power manager
for screen state.
Handle all vibrations in keyguard
Don't do anything when sim pin is locked.
Ref: CYNGNOS-895
Change-Id: Ie52c0317063b14f7a9a34e749b70976789f4b2f0
Signed-off-by:
Roman Birg <roman@cyngn.com>
Loading
Please register or sign in to comment