From 6a25dc5f40eb14e3eb83213ff88e888c20c58eb3 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 6 Mar 2021 03:35:51 +0000 Subject: [PATCH] Update AcquiredInfo constants Bug: 173711478 Test: m android.hardware.biometrics.face-update-api Change-Id: Ib929c70af16b73a902666e4af96ed95be4629f3c --- .../hardware/biometrics/face/AcquiredInfo.aidl | 4 +--- .../hardware/biometrics/face/AcquiredInfo.aidl | 17 ++--------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/AcquiredInfo.aidl b/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/AcquiredInfo.aidl index 2600e61bee..c19534c016 100644 --- a/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/AcquiredInfo.aidl +++ b/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/AcquiredInfo.aidl @@ -59,7 +59,5 @@ enum AcquiredInfo { VENDOR = 22, FIRST_FRAME_RECEIVED = 23, DARK_GLASSES_DETECTED = 24, - FACE_COVERING_DETECTED = 25, - EYES_NOT_VISIBLE = 26, - MOUTH_NOT_VISIBLE = 27, + MOUTH_COVERING_DETECTED = 25, } diff --git a/biometrics/face/aidl/android/hardware/biometrics/face/AcquiredInfo.aidl b/biometrics/face/aidl/android/hardware/biometrics/face/AcquiredInfo.aidl index 217a9bbfb1..a3b229e83a 100644 --- a/biometrics/face/aidl/android/hardware/biometrics/face/AcquiredInfo.aidl +++ b/biometrics/face/aidl/android/hardware/biometrics/face/AcquiredInfo.aidl @@ -187,7 +187,7 @@ enum AcquiredInfo { */ ROLL_TOO_EXTREME = 18, - /** + /** * The user’s face has been obscured by some object. * * The user should be informed to remove any objects from the line of sight from @@ -230,18 +230,5 @@ enum AcquiredInfo { * A face mask or face covering detected. This can be useful for providing relevant feedback to * the user and enabling an alternative authentication logic if the implementation supports it. */ - FACE_COVERING_DETECTED = 25, - - /** - * Either one or both eyes are not visible in the frame. Prefer to use DARK_GLASSES_DETECTED if - * the eyes are not visible due to dark glasses. - */ - EYES_NOT_VISIBLE = 26, - - /** - * The mouth is not visible in the frame. Prefer to use MASK_DETECTED if the mouth is not - * visible due to a mask. - */ - MOUTH_NOT_VISIBLE = 27, + MOUTH_COVERING_DETECTED = 25, } -