summaryrefslogtreecommitdiffstats
path: root/res/xml/security_settings_misc.xml
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-07-22 10:01:08 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-07-24 13:24:19 -0700
commit468d39160fd417cf23cba3d592acb349d3f59c55 (patch)
tree2768a98fbbdeb761bb183ee779b5bf7896a76c4b /res/xml/security_settings_misc.xml
parent28fc05a12bc26c79be697c347dd2930094900744 (diff)
downloadpackages_apps_Settings-468d39160fd417cf23cba3d592acb349d3f59c55.zip
packages_apps_Settings-468d39160fd417cf23cba3d592acb349d3f59c55.tar.gz
packages_apps_Settings-468d39160fd417cf23cba3d592acb349d3f59c55.tar.bz2
Implement the Usage Access Settings UI
Scans for apps requesting permission to use the UsageStats API and displays them so that the user can grant or deny access. Bug: 16461070 Change-Id: Ie9f611688581cdd60ffe9f59e566f658ac2564e9
Diffstat (limited to 'res/xml/security_settings_misc.xml')
-rw-r--r--res/xml/security_settings_misc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/xml/security_settings_misc.xml b/res/xml/security_settings_misc.xml
index 1fa8b9a..06743a5 100644
--- a/res/xml/security_settings_misc.xml
+++ b/res/xml/security_settings_misc.xml
@@ -120,6 +120,11 @@
android:summary="@string/switch_off_text"
android:fragment="com.android.settings.ScreenPinningSettings"/>
+ <Preference android:key="usage_access"
+ android:title="@string/usage_access_title"
+ android:summary="@string/usage_access_summary"
+ android:fragment="com.android.settings.UsageAccessSettings"/>
+
</PreferenceCategory>
</PreferenceScreen>