Merge "Fix TrustAgent showing unclear string." into tm-qpr-dev am: a20c6a4cf8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19970372 Change-Id: I1007d99c24b9d804a8f196ae7ca855e4ff91cd6e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1522,7 +1522,8 @@ public class LockPatternUtils {
|
||||
STRONG_AUTH_REQUIRED_AFTER_LOCKOUT,
|
||||
STRONG_AUTH_REQUIRED_AFTER_TIMEOUT,
|
||||
STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN,
|
||||
STRONG_AUTH_REQUIRED_AFTER_NON_STRONG_BIOMETRICS_TIMEOUT})
|
||||
STRONG_AUTH_REQUIRED_AFTER_NON_STRONG_BIOMETRICS_TIMEOUT,
|
||||
SOME_AUTH_REQUIRED_AFTER_TRUSTAGENT_EXPIRED})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface StrongAuthFlags {}
|
||||
|
||||
@@ -1574,6 +1575,12 @@ public class LockPatternUtils {
|
||||
*/
|
||||
public static final int STRONG_AUTH_REQUIRED_AFTER_NON_STRONG_BIOMETRICS_TIMEOUT = 0x80;
|
||||
|
||||
/**
|
||||
* Some authentication is required because the trustagent either timed out or was disabled
|
||||
* manually.
|
||||
*/
|
||||
public static final int SOME_AUTH_REQUIRED_AFTER_TRUSTAGENT_EXPIRED = 0x100;
|
||||
|
||||
/**
|
||||
* Strong auth flags that do not prevent biometric methods from being accepted as auth.
|
||||
* If any other flags are set, biometric authentication is disabled.
|
||||
|
||||
Reference in New Issue
Block a user