From b5fa953d4a9fc04e29dae8c1f1888c9855fe9915 Mon Sep 17 00:00:00 2001 From: Yining Liu Date: Tue, 24 Dec 2024 00:30:41 +0000 Subject: [PATCH] Update appearance of notifications on locks screen settings page Added `What to show on lock screen` section title. Changed the order of switches according to the latest design. Updated texts. Bug: 367455695 Flag: com.android.server.notification.notification_lock_screen_settings Test: manual Change-Id: Ia8d472ead290c1a1ec0eeb34bc8a11cd31c6870c --- res/values/strings.xml | 15 ++++--- .../lock_screen_notifications_settings.xml | 40 ++++++++++--------- 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index f75940522bd..25286ab2148 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -8863,8 +8863,8 @@ Full list - - Compact + + Compact View Notifications on lock screen @@ -8928,8 +8928,8 @@ When your device is locked, how do you want profile notifications to show? - - Hide seen notifications + + What to show on lock screen Seen notifications are removed from the lock screen. @@ -8937,8 +8937,11 @@ Hide silent notifications - - Silent notifications and conversations are removed from the lock screen. + + Hide sensitive content + + + Hide sensitive work profile content Profile notifications diff --git a/res/xml/lock_screen_notifications_settings.xml b/res/xml/lock_screen_notifications_settings.xml index b5fb12869e0..d7bfa064a3e 100644 --- a/res/xml/lock_screen_notifications_settings.xml +++ b/res/xml/lock_screen_notifications_settings.xml @@ -44,26 +44,30 @@ android:layout="@layout/notification_ls_minimalism_selector" settings:controller="com.android.settings.notification.lockscreen.MinimalismPreferenceController" /> - + - + - + - + + + + +