summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2016-01-19 15:43:01 +0000
committerSudheer Shanka <sudheersai@google.com>2016-01-20 21:08:42 +0000
commit49a28f7e9a17e914c4a3135e45c4eec1852e558a (patch)
treeede7fc40b7ab4a0650a40b0722ae48d79a8ba681 /AndroidManifest.xml
parentb2da42aeb4e56dd3a4880db0fa14062bd6ed895c (diff)
downloadandroid_packages_apps_PackageInstaller-49a28f7e9a17e914c4a3135e45c4eec1852e558a.tar.gz
android_packages_apps_PackageInstaller-49a28f7e9a17e914c4a3135e45c4eec1852e558a.tar.bz2
android_packages_apps_PackageInstaller-49a28f7e9a17e914c4a3135e45c4eec1852e558a.zip
Add a padlock to options when disabled by admin.
Currently, if admin has enforced setPermissionGrantState to denied or granted, we disable the option and add a summary that the option is disabled by admin. With this change, a padlock will also be added in this case. Change-Id: I58080c914fabab045282eb3cc491901676fffaed
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ad2d3027..f198477b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -21,6 +21,9 @@
<uses-permission android:name="com.google.android.permission.INSTALL_WEARABLE_PACKAGES" />
+ <!-- Needed for passing extras with intent ACTION_SHOW_ADMIN_SUPPORT_DETAILS -->
+ <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
+
<application android:label="@string/app_name"
android:allowBackup="false"
android:theme="@style/Theme.DialogWhenLarge"