Add accessibility usage preference to the Privacy screen.

Bug: 123595964
Test: Open Privacy page with one and two accessibility services
enabled and click the preference.
Test: Open Privacy page with zero accessibility services enabled and
do not see the preference.
Test: atest AccessibilityUsagePreferenceControllerTest

Change-Id: Ib1dab374cb53dfbc473b2d5ac49115e608a13ab8
This commit is contained in:
Joel Galenson
2019-02-06 15:14:35 -08:00
parent d9d6acf1fd
commit 1d3df21699
4 changed files with 151 additions and 1 deletions

View File

@@ -10624,6 +10624,15 @@
<!-- Text for permission bar chart details in Privacy page. [CHAR LIMIT=NONE] -->
<string name="permission_bar_chart_details">See all usage</string>
<!-- Title for the accessibility usage preference in the Privacy page. [CHAR LIMIT=NONE] -->
<string name="accessibility_usage_title">Accessibility usage</string>
<!-- Summary for the accessibility usage preference in the Privacy page. [CHAR LIMIT=NONE] -->
<plurals name="accessibility_usage_summary">
<item quantity="one">1 service has full access to your device</item>
<item quantity="other"><xliff:g id="service_count">%1$d</xliff:g> services have full access to your device</item>
</plurals>
<!-- Title for notification channel slice. [CHAR LIMIT=NONE] -->
<string name="manage_app_notification">Manage <xliff:g id="app_name" example="Settings">%1$s</xliff:g> Notifications</string>
<!-- Title for no suggested app in notification channel slice. [CHAR LIMIT=NONE] -->