From b741b754b8a775c7c3a43d3a3faffecc00b28d4b Mon Sep 17 00:00:00 2001 From: Hawkwood Glazier Date: Thu, 18 May 2023 16:37:35 +0000 Subject: [PATCH] Switch to small clock in split shade in certain edge scenarios The large weather clock can overlap the notification shelf when it switches to the left side in AOD. This is avoided by swapping the clock into the small version for this specific scenario. Bug: 283103625 Test: Manually checked swapping clock during AOD transition for jank Change-Id: Iea694b9e14d0f5183dacb73044c20d70213accea --- .../android/keyguard/KeyguardStatusViewController.java | 8 ++++++++ .../systemui/shade/NotificationPanelViewController.java | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java index 794eeda86b0fc..1db0ab65e44f4 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java @@ -314,6 +314,14 @@ public class KeyguardStatusViewController extends ViewController