summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2019-12-06 21:58:29 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-12-06 21:58:29 +0000
commitf182a1e8d6073a55dcfdb030e19f9df9278ae83f (patch)
treec0e1e15fca28e546cbb2f80103065ed52b7f2a8d /core/java
parent4ad8cd5924862a106c5a1441e00a1996da31ace8 (diff)
parenta73bfa27a9a9dd4cf5eb4a7cf3b4feed6966e038 (diff)
Merge "Update BIOMETRIC_ERROR_VENDOR javadoc"
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/hardware/biometrics/BiometricConstants.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/core/java/android/hardware/biometrics/BiometricConstants.java b/core/java/android/hardware/biometrics/BiometricConstants.java
index c8bf570e1bc8..191516b5b992 100644
--- a/core/java/android/hardware/biometrics/BiometricConstants.java
+++ b/core/java/android/hardware/biometrics/BiometricConstants.java
@@ -86,12 +86,10 @@ public interface BiometricConstants {
int BIOMETRIC_ERROR_LOCKOUT = 7;
/**
- * Hardware vendors may extend this list if there are conditions that do not fall under one of
- * the above categories. Vendors are responsible for providing error strings for these errors.
- * These messages are typically reserved for internal operations such as enrollment, but may be
- * used to express vendor errors not otherwise covered. Applications are expected to show the
- * error message string if they happen, but are advised not to rely on the message id since they
- * will be device and vendor-specific
+ * OEMs should use this constant if there are conditions that do not fit under any of the other
+ * publicly defined constants, and must provide appropriate strings for these
+ * errors to the {@link BiometricPrompt.AuthenticationCallback#onAuthenticationError(int,
+ * CharSequence)} callback. OEMs should expect that the error message will be shown to users.
*/
int BIOMETRIC_ERROR_VENDOR = 8;