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

Commit c9307675 authored by Chandru S's avatar Chandru S
Browse files

Reduce the trigger points for showing/hiding the scanning animation

 - Previously we were showing/hiding the scanning animation based on biometric auth events.
 - With this change, we only rely onShowCameraProtection and onHideCameraProtection to show/hide the scanning animation and to show the success pulse.

Fixes: 311715007
Flag: NONE
Test: everything builds
Test: manually
 1. Trigger face auth, let it timeout, see that the animation is all okay
 2. Trigger face auth, let it succeed, see that the animation is all okay
 3. Trigger face auth, let it fail, it should be the same as the timeout scenario
 4. Unlock the device, launch camera, see that the face scanning animation is not shown
 5. Trigger biometric prompt, tested the same three scenarios with biometric prompt.
Change-Id: I73ede8abe1f3c9bd78de40ca459dc67fdf8cd05a
parent e80499c3
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