summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-07-20 09:08:53 -0700
committerSvet Ganov <svetoslavganov@google.com>2015-07-20 09:17:59 -0700
commit203f9b81c9786d0bb5e0a76c0e833a2bb48c2dfe (patch)
tree96dd9eb985c603284433856c84c5fa0ef290a921 /AndroidManifest.xml
parent4bb2c78d281ea555e328b4f556572a35a9156540 (diff)
downloadandroid_packages_apps_PackageInstaller-203f9b81c9786d0bb5e0a76c0e833a2bb48c2dfe.tar.gz
android_packages_apps_PackageInstaller-203f9b81c9786d0bb5e0a76c0e833a2bb48c2dfe.tar.bz2
android_packages_apps_PackageInstaller-203f9b81c9786d0bb5e0a76c0e833a2bb48c2dfe.zip
Protect package installer UI with the new permissions.
The grant_revoke_permissions permission was split in two to separate granting and revoking a permission. Package installer can both grant and revoke, while the verifier can only revoke permissions. We want the permissions UI to be launchable ony by the installer, therefore it is now protected by the grant_runtime_permissions permission which only the installer has. bug:22231699 Change-Id: I81fe3b20ff1af4806d655537ff30273a4782494c
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 221029e5..072a1222 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -80,7 +80,7 @@
android:excludeFromRecents="true"
android:label="@string/app_permissions"
android:theme="@style/Settings"
- android:permission="android.permission.GRANT_REVOKE_PERMISSIONS">
+ android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
<intent-filter>
<action android:name="android.intent.action.MANAGE_PERMISSIONS" />
<action android:name="android.intent.action.MANAGE_APP_PERMISSIONS" />
@@ -90,7 +90,7 @@
</activity>
<receiver android:name=".permission.model.PermissionStatusReceiver"
- android:permission="android.permission.GRANT_REVOKE_PERMISSIONS">
+ android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
<intent-filter>
<action android:name="android.intent.action.GET_PERMISSIONS_COUNT" />
</intent-filter>