From c3284492f8d20a0d7fc8943d5db942cee7f21bda Mon Sep 17 00:00:00 2001 From: shafik Date: Mon, 20 Jan 2020 16:01:21 +0000 Subject: [PATCH] Allow any app to launch AppManageExternalStorageActivity This activity is started by launching an intent with the action android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION and the package name. Previously, we required launching package to be granted the permission MANAGE_EXTERNAL_STORAGE. This is not WAI because we want any app that requests the permission to be able to launch the activity. Because the activity allows apps that have requested the permission to toggle the special app access anyway, this CL drops the requirement mentioned above and now any app can launch the activity. Test: manual - a normal app that doesn't request the permission can launch the intent, and it can't toggle the special app access. Test: manual - a normal app that requests the permission can launch the intent, and it can toggle the special app access. Fixes: 147906545 Change-Id: I605a5b03f9be1b4b11d94e121a18bbd316404590 --- AndroidManifest.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9bb810d92fc..5069110ba7b 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2858,8 +2858,7 @@ + android:label="@string/manage_external_storage_title">