From 73c2a8b76f3a970ca41b2b9e1fe1edaf53e73d51 Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Tue, 7 Apr 2020 16:39:29 +0800 Subject: [PATCH] Add keywords for system naviagtion setting Fix: 152979084 Test: Open setting search, see system navigation when I typed "swipe" Change-Id: I2937276f9eb7e9534aa61e2c4b256ce218b99140 --- res/values/strings.xml | 2 +- res/xml/gestures.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 8a642ac1fa9..c5af2e05b2d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -10667,7 +10667,7 @@ Go back, Home, and switch apps with buttons at the bottom of your screen. - system navigation, 2 button navigation, 3 button navigation, gesture navigation + system navigation, 2 button navigation, 3 button navigation, gesture navigation, swipe Not supported by your default home app, %s diff --git a/res/xml/gestures.xml b/res/xml/gestures.xml index a523ec629b5..c505fc95cba 100644 --- a/res/xml/gestures.xml +++ b/res/xml/gestures.xml @@ -51,7 +51,8 @@ android:key="gesture_system_navigation_input_summary" android:title="@string/system_navigation_title" android:fragment="com.android.settings.gestures.SystemNavigationGestureSettings" - settings:controller="com.android.settings.gestures.SystemNavigationPreferenceController" /> + settings:controller="com.android.settings.gestures.SystemNavigationPreferenceController" + settings:keywords="@string/keywords_system_navigation" />