From a54d7a8f4ae2eb41e333c9f1dbadcc972c6cbd7a Mon Sep 17 00:00:00 2001 From: shafik Date: Wed, 8 Jan 2020 18:03:22 +0000 Subject: [PATCH] Add activities to handle external storage intents Adds 2 activities with the appropriate intent-filters to handle intents used to control OP_MANAGE_EXTERNAL_STORAGE: * Generic activity to handle ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION which control all apps (that request MANAGE_EXTERNAL_STORAGE). * App specific activity to handle ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION. The intent filter expects the name of the package as data in the intent. Test: manual Bug: 146425146 Change-Id: Iebc7d153eac6ffe0b9bd75196bc8ecf9cb687939 --- AndroidManifest.xml | 26 +++++++++++++++++++ src/com/android/settings/Settings.java | 1 + .../core/gateway/SettingsGateway.java | 2 ++ 3 files changed, 29 insertions(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4300e587626..947857825ad 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2842,6 +2842,32 @@ + + + + + + + + + + + + + + + + + +