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

Commit 0db1775e authored by Beverly's avatar Beverly
Browse files

Run face detect when face is locked out & show scanning anim

If face-bypass is not enabled, then do NOT run face detect;
instead show a message on the lockscreen that
face is unavailable.

This also updates KUM.isFaceDetectionRunning() to include
both faceAuth running AND faceDetect running. Previously,
it was only checking whether faceAuth was running so
there was no face scanning UI for face detect.

Fixes: 408069688
Flag: EXEMPT bugfix
Test: enable face auth bypass; lockout face (via
fingerprint failures or face failures); trigger
detect by waking up the device to the lockscreen;
observe face scanning animation by camera AND
on face detection, the primary bouncer shows
Test: atest DeviceEntryFaceAuthInteractorTest
Change-Id: I62244d81f3ee1518a10fbb0cd20c3e268089a73d

Change-Id: Id04260f112ae7ea2f5250276c74b761790590840
parent 6129796b
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