From fdaaa7d1f37f1619d36e77dc1e14524c0005b4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Brzezi=C5=84ski?= Date: Tue, 24 Aug 2021 14:13:12 +0000 Subject: [PATCH] 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 --- .../layout/keyguard_clock_switch.xml | 10 -- .../res/layout/status_bar_expanded.xml | 14 +-- .../KeyguardClockSwitchController.java | 56 ++++++---- .../LockscreenSmartspaceController.kt | 93 +--------------- .../phone/KeyguardClockPositionAlgorithm.java | 43 ++++++-- .../NotificationPanelViewController.java | 23 +--- .../KeyguardClockSwitchControllerTest.java | 15 +-- .../LockscreenSmartspaceControllerTest.kt | 1 + .../KeyguardClockPositionAlgorithmTest.java | 103 +++++++++++++----- .../phone/NotificationPanelViewTest.java | 9 -- 10 files changed, 164 insertions(+), 203 deletions(-) diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml b/packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml index 6016aafbd6aee..28c61663bd4d7 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" /> - - - - - - +