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

Commit 19b88bbd authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Run face detect if bypass face auth is locked out

Previously we were only checking if strongAuth
was causing face to not be allowed. This
CL adds the check for face auth being locked out
as well.

Also renames KeyguardUpdateMonitor#isFaceDetectionRunning
to isFaceAuthOrDetectionRunning and updates
a test name in DeviceEntryFaceAuthInteractorTest
to better reflect the test.

Test: atest DeviceEntryFaceAuthRepositoryTest
Test: enroll face auth with skip lockscree enabled;
lockout face auth by failing face matching multiple
times; observe on lift on the lockscreen, face detect
will run and show the primary bouncer if face detected
Fixes: 422758277
Flag: EXEMPT bugfix

Change-Id: I891c086654594592f4e136b388382ff083ddf0ab
parent e5d353a3
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