From c9b7dfea0cf44a7ad47b40a08e12a71198d3f464 Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Thu, 10 Jun 2021 16:13:19 -0400 Subject: [PATCH] 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 --- .../keyguard/AnimatableClockController.java | 4 +- .../phone/KeyguardClockPositionAlgorithm.java | 46 ++++--------------- .../NotificationPanelViewController.java | 12 +---- 3 files changed, 12 insertions(+), 50 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java index 92af58eb9af40..08076c17dc3ad 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