Merge "Add the intent to navigate to MANAGE_MEDIA permission page" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-03-19 01:00:40 +00:00
committed by Android (Google) Code Review
2 changed files with 15 additions and 0 deletions

View File

@@ -34828,6 +34828,7 @@ package android.provider {
field public static final String ACTION_QUICK_ACCESS_WALLET_SETTINGS = "android.settings.QUICK_ACCESS_WALLET_SETTINGS";
field public static final String ACTION_QUICK_LAUNCH_SETTINGS = "android.settings.QUICK_LAUNCH_SETTINGS";
field public static final String ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS = "android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";
field public static final String ACTION_REQUEST_MANAGE_MEDIA = "android.settings.REQUEST_MANAGE_MEDIA";
field public static final String ACTION_REQUEST_SCHEDULE_EXACT_ALARM = "android.settings.REQUEST_SCHEDULE_EXACT_ALARM";
field public static final String ACTION_REQUEST_SET_AUTOFILL_SERVICE = "android.settings.REQUEST_SET_AUTOFILL_SERVICE";
field public static final String ACTION_SEARCH_SETTINGS = "android.search.action.SEARCH_SETTINGS";

View File

@@ -432,6 +432,20 @@ public final class Settings {
public static final String ACTION_REQUEST_SCHEDULE_EXACT_ALARM =
"android.settings.REQUEST_SCHEDULE_EXACT_ALARM";
/**
* Activity Action: Show settings to allow configuration of
* {@link Manifest.permission#MANAGE_MEDIA} permission
*
* Input: Optionally, the Intent's data URI can specify the application package name to
* directly invoke the management GUI specific to the package name. For example
* "package:com.my.app".
* <p>
* Output: Nothing.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_REQUEST_MANAGE_MEDIA =
"android.settings.REQUEST_MANAGE_MEDIA";
/**
* Activity Action: Show settings to allow configuration of cross-profile access for apps
*