From 992b8d00cd00429a0ded306b4bdfc258862e5bcb Mon Sep 17 00:00:00 2001 From: Yi-Ling Chuang Date: Thu, 27 Jun 2019 17:37:32 +0800 Subject: [PATCH] Add synonym for "Display over other apps" Add "draw" to the search keyword list as this item was renamed from "Draw over other apps". Bug: 135665821 Test: robotests and search keyword draw Change-Id: Ifdb35d021f5efa15ebc754ff18734c806e643c5e --- res/values/strings.xml | 4 +--- res/xml/special_access.xml | 2 +- .../specialaccess/SystemAlertWindowPreferenceController.java | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 3b22e111a24..55b228be3eb 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -7307,7 +7307,7 @@ timezone - Chat head + Chat head, system, alert, window, dialog, display, on top other apps, draw Flashlight, Light, Torch @@ -9388,8 +9388,6 @@ vr virtual reality listener stereo helper service - - system alert window dialog display on top other apps Display over other apps diff --git a/res/xml/special_access.xml b/res/xml/special_access.xml index f8462983418..e07ede71172 100644 --- a/res/xml/special_access.xml +++ b/res/xml/special_access.xml @@ -42,7 +42,7 @@ android:key="system_alert_window" android:title="@string/system_alert_window_settings" android:fragment="com.android.settings.applications.manageapplications.ManageApplications" - settings:keywords="@string/keywords_system_alert_window" + settings:keywords="@string/keywords_draw_overlay" settings:controller="com.android.settings.applications.specialaccess.SystemAlertWindowPreferenceController">