summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorCurtis Belmonte <curtislb@google.com>2019-12-16 15:35:49 -0800
committerCurtis Belmonte <curtislb@google.com>2019-12-16 15:35:49 -0800
commitb8449365ca932181ae905562ccc7d691a2c0281c (patch)
tree0a8e379ccc23512a8b4b0b00619f5cc15e3650c5 /core/java/android
parentd1ee549ad9fff3c923e04dab0f9181756860ffa9 (diff)
Reformat biometric auth constants to 4 hex digits
Updates these constants to retain their current values while making them easier to read/compare. No API changes required. Test: m -j Bug: 80525177 Change-Id: Icf4900e11cc28be3c1a7a558c43db57c52d943c0
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/hardware/biometrics/BiometricManager.java10
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.