Immediately stop running face auth if the display is OFF
And prevent face auth from running if the display is OFF. Only prevent running face auth based on the display state if the feature flag 'flag_stop_face_auth_on_display_off" is enabled. In general, face auth relies on the "waking up" and "going to sleep" signals. That said, when the device starts "waking up", immediately update the allowedDisplayState to TRUE to pre-emptively prep for the display state changing to ON, since display state changes do not START face auth again. Also fixes out of order KeyguardFaceListenModel. Test: atest KeyguardUpdateMonitortest Test: manual Bug: 290077758 Bug: 294221702 Change-Id: Ie68db6a998fdff1c8b2b79d75650f999bcc55c13
Loading
Please register or sign in to comment