Remove duplicated search index data of "Live Caption"

root cause:
 - SI workaround to help AiAi index "Live Caption"
 - Accessibility add Live Caption in Android Q
 - Settings will enable dynamic index injected preference after Android R.

solution:
 - SI should not add raw data after Android R.
 - Accessibility should not index this preference.

Bug: 153713572
Test: rototest & manual
Change-Id: Icdc66d0d8ba7ebb09ad5a22a6347047955cf1a2d
This commit is contained in:
Edgar Wang
2020-04-11 13:44:41 +08:00
parent 4e2e7bb734
commit 18faf05e26

View File

@@ -154,6 +154,7 @@
android:persistent="false"
android:summary="@string/live_caption_summary"
android:title="@string/live_caption_title"
settings:searchable="false"
settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/>
<SwitchPreference