From fdaaa7d1f37f1619d36e77dc1e14524c0005b4ed Mon Sep 17 00:00:00 2001 From: Michał Brzeziński Date: Tue, 24 Aug 2021 14:13:12 +0000 Subject: Revert "Moving smartspace to the right on the lockscreen for split shade" This reverts commit d04b85a03769f3eb68eda6aafa0d0291ae9c09b0. Reason for revert: UX decision on smartspace positioning was reverted Bug: 197624854 Bug: 196977150 Change-Id: I6247289495d39c7f216d90a7de5227b9daa56a44 Merged-In: I6247289495d39c7f216d90a7de5227b9daa56a44 --- .../res-keyguard/layout/keyguard_clock_switch.xml | 10 --- .../SystemUI/res/layout/status_bar_expanded.xml | 14 +--- .../keyguard/KeyguardClockSwitchController.java | 56 ++++++++----- .../lockscreen/LockscreenSmartspaceController.kt | 93 +-------------------- .../phone/KeyguardClockPositionAlgorithm.java | 43 ++++++++-- .../phone/NotificationPanelViewController.java | 23 ++--- .../KeyguardClockSwitchControllerTest.java | 15 ++-- .../LockscreenSmartspaceControllerTest.kt | 1 + .../phone/KeyguardClockPositionAlgorithmTest.java | 97 +++++++++++++++++----- .../statusbar/phone/NotificationPanelViewTest.java | 9 -- 10 files changed, 161 insertions(+), 200 deletions(-) diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml b/packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml index 6016aafbd6ae..28c61663bd4d 100644 --- a/packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml +++ b/packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml @@ -68,16 +68,6 @@ lockScreenWeight="400" /> - - - - - - +