From badcb4e415e226de347c020389a43473979f370d Mon Sep 17 00:00:00 2001 From: Edgar Wang Date: Fri, 15 May 2020 00:48:05 +0800 Subject: [PATCH] Remove duplicate search result when search "Calls" and "Messages". Settings indexed entries and screen title both, which caused duplicated result. so we make screen title as non-searchable to resolve duplicate. Bug: 155849111 Test: manual Change-Id: I2d0dd718c25499a574a35509d99668358ce07baa --- res/xml/zen_mode_calls_settings.xml | 1 + res/xml/zen_mode_messages_settings.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/res/xml/zen_mode_calls_settings.xml b/res/xml/zen_mode_calls_settings.xml index f54c496fa33..acd802334c3 100644 --- a/res/xml/zen_mode_calls_settings.xml +++ b/res/xml/zen_mode_calls_settings.xml @@ -19,6 +19,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:settings="http://schemas.android.com/apk/res-auto" android:key="zen_mode_calls_settings_page" + settings:searchable="false" android:title="@string/zen_mode_calls_title">