From 5ec8f8d3157f109fd8053e99f416b8861f7c13b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Kozynski?= Date: Wed, 7 Jun 2023 12:45:41 -0400 Subject: [PATCH 1/3] Fix typo in product string Fix the typo so the string displays in the correct products. Test: manual, using tablet product Fixes: 284007230 Change-Id: I970c214f46e0d30ecb92ff8f24c6f3fd8dfe33e3 --- res-product/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res-product/values/strings.xml b/res-product/values/strings.xml index 3fcbd7f4e63..cc22617a255 100644 --- a/res-product/values/strings.xml +++ b/res-product/values/strings.xml @@ -720,7 +720,7 @@ Without unlocking your phone - Without unlocking your tablet + Without unlocking your tablet When you move your phone between portrait and landscape From fb1e921bd914544a5169a0e0902c837ced40bc90 Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Thu, 8 Jun 2023 13:12:26 -0700 Subject: [PATCH 2/3] Update the colors for bubbles settings based on new spec Test: manual - get a bubble, go to that apps bubble settings screen, observe the colors look correct, switch theme and check again. Bug: 283951560 Change-Id: I28fa64f8d7b53419a57615bf3da4da7eff049674 --- res/drawable/button_border_selected.xml | 4 ++-- .../android/settings/notification/app/BubblePreference.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/drawable/button_border_selected.xml b/res/drawable/button_border_selected.xml index 113ae0cf49d..3757517c179 100644 --- a/res/drawable/button_border_selected.xml +++ b/res/drawable/button_border_selected.xml @@ -18,9 +18,9 @@ xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" android:shape="rectangle"> + android:color="?androidprv:attr/materialColorSecondaryContainer" /> + android:color="?androidprv:attr/materialColorOnSecondaryContainer"/> diff --git a/src/com/android/settings/notification/app/BubblePreference.java b/src/com/android/settings/notification/app/BubblePreference.java index 346cca37275..44b8d171a73 100644 --- a/src/com/android/settings/notification/app/BubblePreference.java +++ b/src/com/android/settings/notification/app/BubblePreference.java @@ -168,7 +168,7 @@ public class BubblePreference extends Preference implements View.OnClickListener mView.setSelected(selected); int colorResId = selected - ? com.android.internal.R.attr.materialColorOnPrimaryContainer + ? com.android.internal.R.attr.materialColorOnSecondaryContainer : com.android.internal.R.attr.materialColorOnSurfaceVariant; ColorStateList stateList = Utils.getColorAttr(context, colorResId); mImageView.setImageTintList(stateList); From dcce8fa662992b298a9c7448b01800dedb3fa228 Mon Sep 17 00:00:00 2001 From: Oli Thompson Date: Fri, 9 Jun 2023 11:44:29 +0000 Subject: [PATCH 3/3] Fix emergency button not visible on pattern work challenge screen Hide the subtext for work challenge pattern,so everything fits and adjust some spacing Test: btest a.d.g.WorkTelephonyTest#workChallengePatternScreen_whenAllSubscriptionsManaged_hasEmergencyButton -nm Bug: 283137301 Bug: 286391641 Change-Id: Ia6214b624f8d7328f7445f01a08166b8ab33fdec --- res/layout/confirm_lock_pattern_base.xml | 6 ++---- .../confirm_lock_pattern_normal_base.xml | 1 + .../settings/password/ConfirmLockPattern.java | 21 +++++-------------- 3 files changed, 8 insertions(+), 20 deletions(-) diff --git a/res/layout/confirm_lock_pattern_base.xml b/res/layout/confirm_lock_pattern_base.xml index 01f028e1684..a0dfe7f8469 100644 --- a/res/layout/confirm_lock_pattern_base.xml +++ b/res/layout/confirm_lock_pattern_base.xml @@ -29,8 +29,7 @@ + android:orientation="vertical">