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

Skip to content
Commit 8634ddb6 authored by Beverly's avatar Beverly
Browse files

Move clearing face biometric recognized to FaceAuthInteractor

Previously, KeyguardUpdateMonitor would only clear its local
cache of fingerprint recognized but then would inform
trustManager to clear both fingerprint and face. Meanwhile,
SystemUIFaceAuthInteractor would separately track the face
authenticated state and be the source of truth for the
face authenticated state.

Instead of this confusing caches of state, this CL separates
fingerprint and face authenticated states. KeyguardUpdateMonitor
is responsible for fingerprint state and SystemUIFaceAuthInteractor
is reponsible for the face auth state.

Due to dependency cycles between KeyguardStateControllerImpl,
BypassController and DeviceEntryFaceAuthRepository, we still need
to source the onFacesCleared callback through KeyguardUpdateMonitor.

Test: manually attempt UDFPS right after a successful
face auth & going to sleep
Test: atest KeyguardFaceAuthInteractorTest KeyguardStateControllerTest
Flag: None
Bug: 301171760
Fixes: 312860694

Change-Id: I2c3481787e8838f91c8c3bfbf5236dbbc6160f12
parent d31ed40a
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