Add permissions screen to advanced apps

Add a screen that shows a list of permissions and how many apps
have been granted them, link to PackageInstaller for control of
the permissions.

Depends on I68cdbe53177f742daf396f4eb53761fd5cda2636
Change-Id: I183848ea89ea41a17eaf663441dc4ef963be99bf
This commit is contained in:
Jason Monk
2015-03-26 08:30:50 -04:00
parent ec5a3373db
commit 2f41aa7955
5 changed files with 337 additions and 1 deletions

View File

@@ -5638,6 +5638,7 @@
<string name="keywords_keyboard_and_ime">text correction correct sound vibrate auto language gesture suggest suggestion theme offensive word type emoji international</string>
<string name="keywords_reset_apps">reset preferences default</string>
<string name="keywords_all_apps">apps download applications system</string>
<string name="keywords_app_permissions">apps permissions security</string>
<!-- Search keywords for different screen unlock modes : slide to unlock, password, pattern and PIN [CHAR LIMIT=none] -->
<string name="keywords_lockscreen">slide password pattern pin</string>
@@ -6136,4 +6137,12 @@
<!-- Title for profile selection dialog [CHAR LIMIT=30] -->
<string name="choose_profile">Choose Profile</string>
<!-- Label for list that shows all permissions -->
<string name="app_permissions">App permissions</string>
<!-- Summary of permissions currently granted to apps [CHAR LIMIT=45] -->
<string name="app_permissions_summary"><xliff:g id="count" example="10">%d</xliff:g> of <xliff:g id="count" example="10">%d</xliff:g> apps allowed additional access</string>
<!-- Summary of permissions currently granted to a single permission [CHAR
LIMIT=45] -->
<string name="app_permissions_group_summary"><xliff:g id="count" example="10">%d</xliff:g> of <xliff:g id="count" example="10">%d</xliff:g> apps allowed</string>
</resources>

View File

@@ -19,6 +19,12 @@
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:key="applications_settings">
<PreferenceScreen
android:key="manage_perms"
android:fragment="com.android.settings.applications.ManagePermissions"
android:title="@string/app_permissions"
settings:keywords="@string/keywords_app_permissions" />
<PreferenceScreen
android:key="all_apps"
android:fragment="com.android.settings.applications.ManageApplications"