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
This commit is contained in:
parent
b9f6c727e2
commit
4e71fdbecd
1 changed files with 11 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
|||
</string>
|
||||
|
||||
<!-- Camera 0 is the front camera -->
|
||||
<string translatable="false" name="config_protectedCameraId">0</string>
|
||||
<string translatable="false" name="config_protectedCameraId">1</string>
|
||||
|
||||
<!-- Comma-separated list of packages to exclude from camera protection. In our case,
|
||||
ignore the gaze detection package -->
|
||||
|
@ -129,5 +129,15 @@
|
|||
<item>Binned Brightness 0 (wake-up)</item> <!-- HALF_OPENED -->
|
||||
<item>Binned Brightness 0 (wake-up)</item> <!-- OPENED -->
|
||||
</string-array>
|
||||
|
||||
<!-- Whether to only support face auth on specific posture, default 0(DEVICE_POSTURE_UNKNOWN)
|
||||
to support face all postures.
|
||||
0 : DEVICE_POSTURE_UNKNOWN
|
||||
1 : DEVICE_POSTURE_CLOSED
|
||||
2 : DEVICE_POSTURE_HALF_OPENED
|
||||
3 : DEVICE_POSTURE_OPENED
|
||||
4 : DEVICE_POSTURE_FLIPPED
|
||||
-->
|
||||
<integer name="config_face_auth_supported_posture">1</integer>
|
||||
</resources>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue