From f1aed580050c92e645d787c5ea8ccc9d84ca573f Mon Sep 17 00:00:00 2001 From: Angela Wang Date: Wed, 29 Mar 2023 03:27:56 +0000 Subject: [PATCH] Improves Settings search result of Flash Notifications 1. Shows "Accessibility > Flash notifications" instead of "Notifications > Flash notifications". 2. Hides intro preference in search result. 3. Adds search keywords on Flash Notifications page entry. Bug: 275649264 Bug: 275553435 Test: searches some queries and checks UI manually Change-Id: Ie6616b779af77153126846748d1052fb29974e3b --- color-check-baseline.xml | 240 ++++++++++++++++++++ res/values/strings.xml | 20 +- res/xml/accessibility_settings.xml | 4 +- res/xml/configure_notification_settings.xml | 1 + res/xml/flash_notifications_settings.xml | 2 + 5 files changed, 257 insertions(+), 10 deletions(-) diff --git a/color-check-baseline.xml b/color-check-baseline.xml index 911a95b5001..2fd63fc8307 100644 --- a/color-check-baseline.xml +++ b/color-check-baseline.xml @@ -1565,6 +1565,22 @@ column="5"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fingerprint sensor - + Flash notifications - + About flash notifications - + Off - + On / Camera flash - + On / Screen flash - + On / Camera and screen flash - + Flash the camera light or the screen when you receive notifications or when alarms sound - + Flash the screen when you receive notifications or when alarms sound - + Use flash notifications with caution if you\u0027re light sensitive + + flash, light, hard of hearing, hearing loss Preview diff --git a/res/xml/accessibility_settings.xml b/res/xml/accessibility_settings.xml index e0759769fec..111091481a0 100644 --- a/res/xml/accessibility_settings.xml +++ b/res/xml/accessibility_settings.xml @@ -152,10 +152,12 @@