From 4e71fdbecdb4a6f33cc5ac46c8924c9042ce8557 Mon Sep 17 00:00:00 2001 From: lbill Date: Tue, 6 Dec 2022 06:10:20 +0000 Subject: [PATCH] 4-2/ Config config_face_auth_supported_posture to listen for face on folded state 1. Set config_face_auth_supported_posture to 1(DEVICE_POSTURE_CLOSED) 2. Set the camera id to 1 for the front camera Test: Check face auth do not active when device on unfolded state Test: Check face auth active when device on folded state Bug: 260636659 Change-Id: I6cbaa43bd7a60e3ac1aa1c14c8bb6559c7e3a8c6 --- .../base/packages/SystemUI/res/values/config.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/felix/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/felix/overlay/frameworks/base/packages/SystemUI/res/values/config.xml index ca7ada3..16d2bb7 100644 --- a/felix/overlay/frameworks/base/packages/SystemUI/res/values/config.xml +++ b/felix/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -79,7 +79,7 @@ - 0 + 1 @@ -129,5 +129,15 @@ Binned Brightness 0 (wake-up) Binned Brightness 0 (wake-up) + + + 1