summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2021-05-24 16:53:53 -0700
committerKevin Chyn <kchyn@google.com>2021-05-24 16:53:53 -0700
commit7435e8d77c36dfce7aabf9b9db13311f6ed4df1b (patch)
tree187b2835e0c9553c21d2e7ea8f249d873f88be97
parentd02d9f2767d291e601a1f7a57d71c411fd9788ed (diff)
Add Error::BAD_CALIBRATION
Bug: 189133688 Test: make -j56 android.hardware.biometrics.fingerprint-update-api Change-Id: Iea26fa2efb8e60fb5d89e89762dc76f0f0c6dce1
-rw-r--r--biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl1
-rw-r--r--biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl5
2 files changed, 6 insertions, 0 deletions
diff --git a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl
index 060379d63c..af7bc3c56b 100644
--- a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl
+++ b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl
@@ -42,4 +42,5 @@ enum Error {
CANCELED = 5,
UNABLE_TO_REMOVE = 6,
VENDOR = 7,
+ BAD_CALIBRATION = 8,
}
diff --git a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl
index fc89da218a..e69859a442 100644
--- a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl
+++ b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl
@@ -63,4 +63,9 @@ enum Error {
* Used to enable vendor-specific error messages.
*/
VENDOR,
+
+ /**
+ * There's a problem with the sensor's calibration.
+ */
+ BAD_CALIBRATION,
}