diff options
author | Svet Ganov <svetoslavganov@google.com> | 2015-09-27 08:10:39 -0700 |
---|---|---|
committer | Svet Ganov <svetoslavganov@google.com> | 2015-12-01 19:55:08 -0800 |
commit | bf7316751f0c73b435b693fd20b0c9b2fa973e85 (patch) | |
tree | 5f372a0d0e8644921cf40905c623b4b11c88e03e /res/values | |
parent | e3ba0f72cf3a38d5f196b10f976dfe4c5dd5dff5 (diff) | |
download | android_packages_apps_PackageInstaller-bf7316751f0c73b435b693fd20b0c9b2fa973e85.tar.gz android_packages_apps_PackageInstaller-bf7316751f0c73b435b693fd20b0c9b2fa973e85.tar.bz2 android_packages_apps_PackageInstaller-bf7316751f0c73b435b693fd20b0c9b2fa973e85.zip |
Add optional permission review for legacy apps - installer
Change-Id: Ifc88b2fa259d2d22bea6b5500cded2714ad4da85
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/strings.xml | 33 | ||||
-rw-r--r-- | res/values/themes.xml | 5 |
2 files changed, 34 insertions, 4 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 494241f1..acc22bcb 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -156,10 +156,6 @@ <string name="grant_confirm_question">Do you want to grant the following permissions? It will get access to:</string> - - <!-- Title for the dialog button to allow a permission grant. --> - <string name="grant_dialog_button_allow">Allow</string> - <!-- Title for the dialog button to deny a permission grant. --> <string name="grant_dialog_button_deny">Deny</string> @@ -265,4 +261,33 @@ <!-- Title of dialog telling users that Install/Uninstall action is not supported on Android Wear. --> <string name="wear_not_allowed_dlg_text">Instal/Uninstall actions not supported on Wear.</string> + <!-- Review of runtime permissions for legacy apps --> + + <!-- Template for the warning title when an updated app's requested permissions are reviewed. --> + <string name="permission_review_warning_title_template_update"> + <xliff:g id="app_name" example="Gmail">%1$s</xliff:g> has been updated. + Allow <xliff:g id="app_name" example="Gmail">%1$s</xliff:g> to + access the following?</string> + + <!-- Template for the screen title when app permissions are reviewed on install. --> + <string name="permission_review_title_template_install">Choose what to allow + <xliff:g id="app_name" example="Gmail">%1$s</xliff:g> to access</string> + + <!-- Template for the screen title when app permissions are reviewed on update. --> + <string name="permission_review_title_template_update"> + <xliff:g id="app_name" example="Gmail">%1$s</xliff:g> has been updated. + Choose what to allow this app to access.</string> + + <!-- Title for the dialog button to cancel the detailed permission review. --> + <string name="review_button_cancel">Cancel</string> + + <!-- Title for the dialog button to continue accepting the detailed permission review. --> + <string name="review_button_continue">Continue</string> + + <!-- Title for the category listing the new permissions used by an app. --> + <string name="new_permissions_category">New permissions</string> + + <!-- Title for the category listing the current permissions used by an app. --> + <string name="current_permissions_category">Current permissions</string> + </resources> diff --git a/res/values/themes.xml b/res/values/themes.xml index 026c77fa..6f325d2b 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -21,6 +21,11 @@ parent="@android:style/Theme.DeviceDefault.Settings"> </style> + <style name="Settings.NoActionBar" parent="@style/Settings"> + <item name="android:windowActionBar">false</item> + <item name="android:windowNoTitle">true</item> + </style> + <style name="GrantPermissions" parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"> </style> |