diff options
| author | 2023-12-01 15:52:25 +0530 | |
|---|---|---|
| committer | 2023-12-01 21:03:19 +0530 | |
| commit | c93076759f348e3648656a553fab93ac51a6a02a (patch) | |
| tree | 982b13a95107b8a82677d30c7db9100425040485 /libs/androidfw/Png.cpp | |
| parent | e80499c3832f55349727f177921788b0bda3079c (diff) | |
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
Diffstat (limited to 'libs/androidfw/Png.cpp')
0 files changed, 0 insertions, 0 deletions