From 239b58e60af13090d713dc811cc1227e1d6c7c86 Mon Sep 17 00:00:00 2001 From: Ahaan Ugale Date: Thu, 1 Jul 2021 01:38:39 -0700 Subject: [PATCH] Autofill settings: Fix search Ia012232ba2856e0757289982bc3045d948ff4aa8 replace the "Autofill service" preference title with the earlier summary string. The change in title causes search to not find the preference anymore. This change adds back the title in xml, which makes search find it again. The Controller code still overwrites the title with the application name. Also fixes DefaultAutofillPreferenceControllerTest. Bug: 192403526 Test: manual - clear Settings Services storage -> search "fill" -> click link Test: make -j64 RunSettingsRoboTests \ ROBOTEST_FILTER="com.android.settings.applications.defaultapps.DefaultAutofillPreferenceControllerTest" Change-Id: I9714b3efd2a5a7d9ee7eef345415fa020ef0dc61 --- res/xml/accounts_dashboard_settings.xml | 1 + res/xml/accounts_personal_dashboard_settings.xml | 1 + res/xml/accounts_work_dashboard_settings.xml | 1 + .../defaultapps/DefaultAutofillPreferenceControllerTest.java | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/res/xml/accounts_dashboard_settings.xml b/res/xml/accounts_dashboard_settings.xml index 71bfc189609..c8627e7e9e7 100644 --- a/res/xml/accounts_dashboard_settings.xml +++ b/res/xml/accounts_dashboard_settings.xml @@ -37,6 +37,7 @@