diff options
author | Curtis Belmonte <curtislb@google.com> | 2020-01-02 18:10:53 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-01-02 18:10:53 +0000 |
commit | 3833bdcb0a5a486f13d1228b2a6114794eb60421 (patch) | |
tree | fd6bfb6adee5d10e6e3342aa4fa741f8f282fa62 | |
parent | 856ce4a17d8cfd4d894b1f3f28b0e224a4e40913 (diff) | |
parent | b8449365ca932181ae905562ccc7d691a2c0281c (diff) |
Merge "Reformat biometric auth constants to 4 hex digits"
-rw-r--r-- | core/java/android/hardware/biometrics/BiometricManager.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/hardware/biometrics/BiometricManager.java b/core/java/android/hardware/biometrics/BiometricManager.java index 7e1506f61a51..4c114fdc5f10 100644 --- a/core/java/android/hardware/biometrics/BiometricManager.java +++ b/core/java/android/hardware/biometrics/BiometricManager.java @@ -90,19 +90,19 @@ public class BiometricManager { * @hide */ @SystemApi - int EMPTY_SET = 0x0; + int EMPTY_SET = 0x0000; /** * Placeholder for the theoretical strongest biometric security tier. * @hide */ - int BIOMETRIC_MAX_STRENGTH = 0x001; + int BIOMETRIC_MAX_STRENGTH = 0x0001; /** * Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the * requirements for <strong>Strong</strong>, as defined by the Android CDD. */ - int BIOMETRIC_STRONG = 0x00F; + int BIOMETRIC_STRONG = 0x000F; /** * Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the @@ -111,7 +111,7 @@ public class BiometricManager { * <p>Note that this is a superset of {@link #BIOMETRIC_STRONG} and is defined such that * <code>BIOMETRIC_STRONG | BIOMETRIC_WEAK == BIOMETRIC_WEAK</code>. */ - int BIOMETRIC_WEAK = 0x0FF; + int BIOMETRIC_WEAK = 0x00FF; /** * Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the @@ -121,7 +121,7 @@ public class BiometricManager { * @hide */ @SystemApi - int BIOMETRIC_CONVENIENCE = 0xFFF; + int BIOMETRIC_CONVENIENCE = 0x0FFF; /** * Placeholder for the theoretical weakest biometric security tier. |