summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
diff options
context:
space:
mode:
authorMatt Pietal <mpietal@google.com>2021-06-10 16:13:19 -0400
committerMatt Pietal <mpietal@google.com>2021-06-11 07:58:21 -0400
commitc9b7dfea0cf44a7ad47b40a08e12a71198d3f464 (patch)
tree8a645cfd674fc654fb967df6bd914f10a74dc1c4 /packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
parent745deffa8ff5f6567280548cedbd8b66c895ced3 (diff)
Bypass fixes for clock
1. Algo bypass flag can be ignored for positioning, as it was causing the keyguard to get stuck and show underneath the bouncer. 2. Cleanup old layout code 3. The clock would disappear after face auth on reboot, since the bouncer is required. Check for strong auth Fixes: 185314537 Test: manual exploration with and without bypass and face auth Change-Id: I423fc81d3dca7aa7d8c44cd152bd29d91c479322
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
index 92af58eb9af4..08076c17dc3a 100644
--- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
+++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
@@ -127,8 +127,10 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie
@Override
public void onBiometricAuthenticated(int userId, BiometricSourceType biometricSourceType,
boolean isStrongBiometric) {
+ // Strong auth will force the bouncer regardless of a successful face auth
if (biometricSourceType == BiometricSourceType.FACE
- && mBypassController.canBypass()) {
+ && mBypassController.canBypass()
+ && !mKeyguardUpdateMonitor.userNeedsStrongAuth()) {
mView.animateDisappear();
}
}