diff options
author | Peter Qiu <zqiu@google.com> | 2017-01-30 12:55:09 -0800 |
---|---|---|
committer | gitbuildkicker <android-build@google.com> | 2017-01-30 15:53:13 -0800 |
commit | 5b2771bdcc0b3ff3f953c6a76ea98bbe772f12b7 (patch) | |
tree | eda6c8df9998206263271e0f3e9cbde9f1697b93 | |
parent | 85933f4f38397970e20ca62294c539edbbe0a9df (diff) | |
download | android_packages_apps_CertInstaller-5b2771bdcc0b3ff3f953c6a76ea98bbe772f12b7.tar.gz android_packages_apps_CertInstaller-5b2771bdcc0b3ff3f953c6a76ea98bbe772f12b7.tar.bz2 android_packages_apps_CertInstaller-5b2771bdcc0b3ff3f953c6a76ea98bbe772f12b7.zip |
WifiInstaller: add permission for access downloaded files
The previous fix for the security vulnerability b/33178389
add the code to drop the downloaded installation file but
forget to update the manifest for additional permission. This
omission was due to that the original fix was merged from
mnc-dev, which doesn't have such permission requirement.
So add the required permission for deleting downloaded
installation file.
Bug: 33178389
Test: Verify WifiInstaller works and not crashing due permission
denied exception
Change-Id: I987ad73dde0e3cc5b920cd08830dd065c47be402
(cherry picked from commit 9a9e51727a5cdaf3ac10c98e1ea4661bc13a11c7)
-rw-r--r-- | AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 03291ae..56ac884 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -8,6 +8,7 @@ <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.MANAGE_USERS" /> + <uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS" /> <application android:label="@string/app_name" android:allowBackup="false"> |