From 8690be5bc95c022a00c2c3392cc7399e01e505a1 Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Thu, 13 May 2021 08:37:27 -0400 Subject: [PATCH] Keyguard - Fix clock in occluded state The status area (clock, smartspace) was not being shown after exiting an activity on the lockscreen. The y translation value was incorrect for the branch it was taking. Add a new check for occlusion, and use the correct transition when leaving this state. Fixes: 184188027 Test: manual (use emergency call button) Change-Id: I6fa34e55252ac8435031915a7e929711e7976fe2 --- .../KeyguardStatusViewController.java | 28 +++---------------- .../keyguard/KeyguardVisibilityHelper.java | 15 ++++++++++ 2 files changed, 19 insertions(+), 24 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java index 588f4bb203400..3a3f2fc40b25a 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java @@ -51,8 +51,6 @@ public class KeyguardStatusViewController extends ViewController {