From d3b4b1043be8d416f4f3aba4d54f963056af89f3 Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Thu, 30 Apr 2020 21:20:58 +0800 Subject: [PATCH] Add keyword for app pinning setting We change the "screen pinning" to "app pinning", and we still want to let user can get same search result when they query "screen pinning". Test: Open search and query "screen pinning", see the app pinning result Bug: 151332926 Change-Id: Ice49d6db39ce89aa84508587262d9529df726784 --- res/values/strings.xml | 2 ++ res/xml/security_dashboard_settings.xml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 53e51022d27..3b5d0aab4be 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -7563,6 +7563,8 @@ vibrant, RGB, sRGB, color, natural, standard color, temperature, D65, D73, white, yellow, blue, warm, cool slide to unlock, password, pattern, PIN + + screen pinning work challenge, work, profile work profile, managed profile, unify, unification, work, profile gestures diff --git a/res/xml/security_dashboard_settings.xml b/res/xml/security_dashboard_settings.xml index 7610b322e28..b5dcebf6d99 100644 --- a/res/xml/security_dashboard_settings.xml +++ b/res/xml/security_dashboard_settings.xml @@ -145,7 +145,8 @@ android:key="screen_pinning_settings" android:title="@string/screen_pinning_title" android:summary="@string/summary_placeholder" - android:fragment="com.android.settings.security.ScreenPinningSettings" /> + android:fragment="com.android.settings.security.ScreenPinningSettings" + settings:keywords="@string/keywords_app_pinning" />