Fix no result for "Privacy" keyword

We can't have same title string at the same time.

Test: search again, and see result.
Fixes: 123775284
Change-Id: I53afa64e723a0b1d6b8fefe0dbded64b7cd8f0de
This commit is contained in:
tmfang
2019-02-12 13:06:24 +08:00
parent 6b12d79925
commit aa984d58d5

View File

@@ -22,9 +22,11 @@
android:title="@string/privacy_dashboard_title"
settings:initialExpandedChildrenCount="4">
<!-- This preference isn't searchable, and user won't see title in this preference.
So, we just set empty text for title. -->
<com.android.settingslib.widget.BarChartPreference
android:key="permission_bar_chart"
android:title="@string/privacy_dashboard_title"
android:title="@string/summary_placeholder"
settings:controller="com.android.settings.privacy.PermissionBarChartPreferenceController"/>
<!-- Accessibility usage -->