Added new toggle for Content Capture on Settings -> Privacy

Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest

Bug: 119264902

Change-Id: I2e29d7892892e6a0f90a97e35c48df231d67b0b6
This commit is contained in:
Felipe Leme
2019-03-06 15:50:03 -08:00
parent 4dfa94f5f6
commit 0d3444a300
4 changed files with 176 additions and 0 deletions

View File

@@ -62,6 +62,13 @@
android:summary="@string/summary_placeholder"
settings:searchable="false"/>
<!-- Content Capture -->
<SwitchPreference
android:key="content_capture"
android:title="@string/content_capture"
android:summary="@string/content_capture_summary"
settings:controller="com.android.settings.privacy.EnableContentCapturePreferenceController"/>
<!-- Privacy Service -->
<PreferenceCategory
android:key="privacy_services"/>