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
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||||
android:key="zen_mode_calls_settings_page"
|
android:key="zen_mode_calls_settings_page"
|
||||||
|
settings:searchable="false"
|
||||||
android:title="@string/zen_mode_calls_title">
|
android:title="@string/zen_mode_calls_title">
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
|
|||||||
@@ -17,7 +17,9 @@
|
|||||||
|
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||||
android:key="zen_mode_messages_settings_page"
|
android:key="zen_mode_messages_settings_page"
|
||||||
|
settings:searchable="false"
|
||||||
android:title="@string/zen_mode_messages_title" >
|
android:title="@string/zen_mode_messages_title" >
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
|
|||||||
Reference in New Issue
Block a user