Merge "Add a constant to allow system-provided fingerprint dialogs" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fb8e9b9096
@@ -15863,6 +15863,7 @@ package android.hardware.fingerprint {
|
||||
field public static final int FINGERPRINT_ERROR_NO_SPACE = 4; // 0x4
|
||||
field public static final int FINGERPRINT_ERROR_TIMEOUT = 3; // 0x3
|
||||
field public static final int FINGERPRINT_ERROR_UNABLE_TO_PROCESS = 2; // 0x2
|
||||
field public static final int FINGERPRINT_ERROR_USER_CANCELED = 10; // 0xa
|
||||
field public static final int FINGERPRINT_ERROR_VENDOR = 8; // 0x8
|
||||
}
|
||||
|
||||
|
||||
@@ -16614,6 +16614,7 @@ package android.hardware.fingerprint {
|
||||
field public static final int FINGERPRINT_ERROR_NO_SPACE = 4; // 0x4
|
||||
field public static final int FINGERPRINT_ERROR_TIMEOUT = 3; // 0x3
|
||||
field public static final int FINGERPRINT_ERROR_UNABLE_TO_PROCESS = 2; // 0x2
|
||||
field public static final int FINGERPRINT_ERROR_USER_CANCELED = 10; // 0xa
|
||||
field public static final int FINGERPRINT_ERROR_VENDOR = 8; // 0x8
|
||||
}
|
||||
|
||||
|
||||
@@ -15949,6 +15949,7 @@ package android.hardware.fingerprint {
|
||||
field public static final int FINGERPRINT_ERROR_NO_SPACE = 4; // 0x4
|
||||
field public static final int FINGERPRINT_ERROR_TIMEOUT = 3; // 0x3
|
||||
field public static final int FINGERPRINT_ERROR_UNABLE_TO_PROCESS = 2; // 0x2
|
||||
field public static final int FINGERPRINT_ERROR_USER_CANCELED = 10; // 0xa
|
||||
field public static final int FINGERPRINT_ERROR_VENDOR = 8; // 0x8
|
||||
}
|
||||
|
||||
|
||||
@@ -127,6 +127,13 @@ public class FingerprintManager {
|
||||
*/
|
||||
public static final int FINGERPRINT_ERROR_LOCKOUT_PERMANENT = 9;
|
||||
|
||||
/**
|
||||
* The user canceled the operation. Upon receiving this, applications should use alternate
|
||||
* authentication (e.g. a password). The application should also provide the means to return
|
||||
* to fingerprint authentication, such as a "use fingerprint" button.
|
||||
*/
|
||||
public static final int FINGERPRINT_ERROR_USER_CANCELED = 10;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user