Add TOO_DARK and TOO_BRIGHT to AcquiredInfo
Fixes: 169186958
Test: make -j android.hardware.biometrics.fingerprint-update-api
Change-Id: If12088b65b4defe5c83fed2f118d437075789632
diff --git a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl
index d5f2ed2..7d8c034 100644
--- a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl
+++ b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl
@@ -27,4 +27,6 @@
TOO_FAST = 5,
VENDOR = 6,
START = 7,
+ TOO_DARK = 8,
+ TOO_BRIGHT = 9,
}
diff --git a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl
index adb1c78..3709a64 100644
--- a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl
+++ b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl
@@ -63,5 +63,17 @@
* latency based on the time between the last START message and the onAuthenticated callback.
*/
START,
+
+ /**
+ * For sensors that require illumination, such as optical under-display fingerprint sensors,
+ * the image was too dark to be used for matching.
+ */
+ TOO_DARK,
+
+ /**
+ * For sensors that require illumination, such as optical under-display fingerprint sensors,
+ * the image was too bright to be used for matching.
+ */
+ TOO_BRIGHT,
}