Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02147549 authored by Roman Birg's avatar Roman Birg
Browse files

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: default avatarRoman Birg <roman@cyngn.com>
parent d67c2422
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment