Loading core/java/com/android/internal/widget/LockPatternUtils.java +1 −8 Original line number Diff line number Diff line Loading @@ -1522,8 +1522,7 @@ 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, SOME_AUTH_REQUIRED_AFTER_TRUSTAGENT_EXPIRED}) STRONG_AUTH_REQUIRED_AFTER_NON_STRONG_BIOMETRICS_TIMEOUT}) @Retention(RetentionPolicy.SOURCE) public @interface StrongAuthFlags {} Loading Loading @@ -1575,12 +1574,6 @@ 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. Loading packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java +0 −3 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_NON_STRONG import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_PREPARE_FOR_UPDATE; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_RESTART; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TIMEOUT; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TRUSTAGENT_EXPIRED; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_USER_REQUEST; import android.animation.Animator; Loading Loading @@ -107,8 +106,6 @@ public class KeyguardPasswordView extends KeyguardAbsKeyInputView { return R.string.kg_prompt_reason_timeout_password; case PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT: return R.string.kg_prompt_reason_timeout_password; case PROMPT_REASON_TRUSTAGENT_EXPIRED: return R.string.kg_prompt_reason_timeout_password; case PROMPT_REASON_NONE: return 0; default: Loading packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java +0 −3 Original line number Diff line number Diff line Loading @@ -330,9 +330,6 @@ public class KeyguardPatternViewController case PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT: mMessageAreaController.setMessage(R.string.kg_prompt_reason_timeout_pattern); break; case PROMPT_REASON_TRUSTAGENT_EXPIRED: mMessageAreaController.setMessage(R.string.kg_prompt_reason_timeout_pattern); break; case PROMPT_REASON_NONE: break; default: Loading packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java +0 −3 Original line number Diff line number Diff line Loading @@ -22,7 +22,6 @@ import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_NON_STRONG import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_PREPARE_FOR_UPDATE; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_RESTART; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TIMEOUT; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TRUSTAGENT_EXPIRED; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_USER_REQUEST; import android.animation.Animator; Loading Loading @@ -124,8 +123,6 @@ public abstract class KeyguardPinBasedInputView extends KeyguardAbsKeyInputView return R.string.kg_prompt_reason_timeout_pin; case PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT: return R.string.kg_prompt_reason_timeout_pin; case PROMPT_REASON_TRUSTAGENT_EXPIRED: return R.string.kg_prompt_reason_timeout_pin; case PROMPT_REASON_NONE: return 0; default: Loading packages/SystemUI/src/com/android/keyguard/KeyguardSecurityView.java +0 −6 Original line number Diff line number Diff line Loading @@ -60,12 +60,6 @@ public interface KeyguardSecurityView { */ int PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT = 7; /** * Some auth is required because the trustagent expired either from timeout or manually by * the user */ int PROMPT_REASON_TRUSTAGENT_EXPIRED = 8; /** * Reset the view and prepare to take input. This should do things like clearing the * password or pattern and clear error messages. Loading Loading
core/java/com/android/internal/widget/LockPatternUtils.java +1 −8 Original line number Diff line number Diff line Loading @@ -1522,8 +1522,7 @@ 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, SOME_AUTH_REQUIRED_AFTER_TRUSTAGENT_EXPIRED}) STRONG_AUTH_REQUIRED_AFTER_NON_STRONG_BIOMETRICS_TIMEOUT}) @Retention(RetentionPolicy.SOURCE) public @interface StrongAuthFlags {} Loading Loading @@ -1575,12 +1574,6 @@ 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. Loading
packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java +0 −3 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_NON_STRONG import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_PREPARE_FOR_UPDATE; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_RESTART; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TIMEOUT; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TRUSTAGENT_EXPIRED; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_USER_REQUEST; import android.animation.Animator; Loading Loading @@ -107,8 +106,6 @@ public class KeyguardPasswordView extends KeyguardAbsKeyInputView { return R.string.kg_prompt_reason_timeout_password; case PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT: return R.string.kg_prompt_reason_timeout_password; case PROMPT_REASON_TRUSTAGENT_EXPIRED: return R.string.kg_prompt_reason_timeout_password; case PROMPT_REASON_NONE: return 0; default: Loading
packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java +0 −3 Original line number Diff line number Diff line Loading @@ -330,9 +330,6 @@ public class KeyguardPatternViewController case PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT: mMessageAreaController.setMessage(R.string.kg_prompt_reason_timeout_pattern); break; case PROMPT_REASON_TRUSTAGENT_EXPIRED: mMessageAreaController.setMessage(R.string.kg_prompt_reason_timeout_pattern); break; case PROMPT_REASON_NONE: break; default: Loading
packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java +0 −3 Original line number Diff line number Diff line Loading @@ -22,7 +22,6 @@ import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_NON_STRONG import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_PREPARE_FOR_UPDATE; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_RESTART; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TIMEOUT; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_TRUSTAGENT_EXPIRED; import static com.android.keyguard.KeyguardSecurityView.PROMPT_REASON_USER_REQUEST; import android.animation.Animator; Loading Loading @@ -124,8 +123,6 @@ public abstract class KeyguardPinBasedInputView extends KeyguardAbsKeyInputView return R.string.kg_prompt_reason_timeout_pin; case PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT: return R.string.kg_prompt_reason_timeout_pin; case PROMPT_REASON_TRUSTAGENT_EXPIRED: return R.string.kg_prompt_reason_timeout_pin; case PROMPT_REASON_NONE: return 0; default: Loading
packages/SystemUI/src/com/android/keyguard/KeyguardSecurityView.java +0 −6 Original line number Diff line number Diff line Loading @@ -60,12 +60,6 @@ public interface KeyguardSecurityView { */ int PROMPT_REASON_NON_STRONG_BIOMETRIC_TIMEOUT = 7; /** * Some auth is required because the trustagent expired either from timeout or manually by * the user */ int PROMPT_REASON_TRUSTAGENT_EXPIRED = 8; /** * Reset the view and prepare to take input. This should do things like clearing the * password or pattern and clear error messages. Loading