4/ Add config_face_auth_supported_posture to listen for Face by posture
Add config config_face_auth_supported_posture to allow config device
only active face auth on specific posture state.
e.g: set config_face_auth_default_posture
'0' (DEVICE_POSTURE_UNKNOWN) Always listening for face
'1' (DEVICE_POSTURE_CLOSED) Face auth active in CLOSED state only
'2' (DEVICE_POSTURE_HALF_OPENED) Face auth active in HALF_OPENED state
'3' (DEVICE_POSTURE_OPENED) Face auth active in OPENED state
'4' (DEVICE_POSTURE_FLIPPED) Face auth active in FLIPPED state
Bug: 260652660
Test: adb shell settings put global systemui/buffer/KeyguardUpdateMonitorLog V
Test: atest SystemUITests
Test: atest com.android.keyguard.KeyguardUpdateMonitorTest
Change-Id: Ibd570a91c92992f0f098c43d1c7d741c2bb24d95
6 files changed