From 62e224407d37358cbcfc2f5d5474e0ad7848375f Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Tue, 14 Dec 2021 11:06:31 -0500 Subject: [PATCH] Legacy smartspace alignment fixes If newer smartspace content is not enabled, the title alignment and burn-in placement of legacy smartspace is incorrect. Align to the start. Fixes: 210090859 Test: manual, play music and disable new smartspace Change-Id: Id038290100b9bc254d6060cb163b0fe772518018 --- .../res-keyguard/layout/keyguard_slice_view.xml | 2 -- packages/SystemUI/res-keyguard/values/styles.xml | 3 ++- .../keyguard/KeyguardClockSwitchController.java | 2 -- .../android/keyguard/KeyguardSliceViewController.java | 10 ---------- 4 files changed, 2 insertions(+), 15 deletions(-) diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_slice_view.xml b/packages/SystemUI/res-keyguard/layout/keyguard_slice_view.xml index 1863d11129474..7c5dbc247428e 100644 --- a/packages/SystemUI/res-keyguard/layout/keyguard_slice_view.xml +++ b/packages/SystemUI/res-keyguard/layout/keyguard_slice_view.xml @@ -30,8 +30,6 @@ android:id="@+id/title" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="44dp" - android:paddingEnd="44dp" android:visibility="gone" android:textColor="?attr/wallpaperTextColor" android:theme="@style/TextAppearance.Keyguard" diff --git a/packages/SystemUI/res-keyguard/values/styles.xml b/packages/SystemUI/res-keyguard/values/styles.xml index b0bdc72f986ad..b8770e831d450 100644 --- a/packages/SystemUI/res-keyguard/values/styles.xml +++ b/packages/SystemUI/res-keyguard/values/styles.xml @@ -112,7 +112,7 @@