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

Skip to content
Commit 17775a65 authored by Roman Birg's avatar Roman Birg
Browse files

Fingerprint Wakeup: add some error handling; fix race conditions



- If the FingerprintManager reports that the HW is unavailable, it's
likely the service isn't up yet. Try to reinitialize the fingerprint
state when this happens.

- Fix a race condition when screen is turned off and fingerprint is
recognized but keyguard has not yet come back up.

- don't count Fingerprint sensor errors against failed user count

- Always stop authenticating when keyguard goes away.

- Make final vibrate when limit has been reached more obvious

Fingerprint Service changes:
- Don't remove wake client when removing listener. These should be
  handled separately.

- Remove wake client when wake is disabled

- remove finalize() call - the binderDied() interface accomplishes what
  we need to do the proper cleanup.

Ref: CYNGNOS-1125

Change-Id: Id22d8f4f409e3989d0a094eb4c4bab7da996937f
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent ccbaa26a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment