From bf5b361fa8356a244b4ed2900fdca1104ddaedc2 Mon Sep 17 00:00:00 2001 From: Ilya Matyukhin Date: Fri, 19 Feb 2021 15:12:28 -0800 Subject: [PATCH] Add REENROLL_REQUIRED to IFace Bug: 180723766 Test: m android.hardware.biometrics.face-update-api Change-Id: I4687828a9e1bcd42633b28f16656d99632b63520 --- .../current/android/hardware/biometrics/face/Error.aidl | 1 + .../face/aidl/android/hardware/biometrics/face/Error.aidl | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/Error.aidl b/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/Error.aidl index 6bbe7871ac..7992f9973a 100644 --- a/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/Error.aidl +++ b/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/Error.aidl @@ -40,4 +40,5 @@ enum Error { CANCELED = 5, UNABLE_TO_REMOVE = 6, VENDOR = 8, + REENROLL_REQUIRED = 16, } diff --git a/biometrics/face/aidl/android/hardware/biometrics/face/Error.aidl b/biometrics/face/aidl/android/hardware/biometrics/face/Error.aidl index 7230128989..6f3264b4b6 100644 --- a/biometrics/face/aidl/android/hardware/biometrics/face/Error.aidl +++ b/biometrics/face/aidl/android/hardware/biometrics/face/Error.aidl @@ -87,5 +87,9 @@ enum Error { * * LOCKOUT_PERMANENT = 9 */ -} + /** + * Authentication cannot be performed because re-enrollment is required. + */ + REENROLL_REQUIRED = 16, +}