Loading api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -39528,7 +39528,9 @@ package android.provider { field public static final String ACTION_LOCALE_SETTINGS = "android.settings.LOCALE_SETTINGS"; field public static final String ACTION_LOCATION_SOURCE_SETTINGS = "android.settings.LOCATION_SOURCE_SETTINGS"; field public static final String ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS = "android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS"; field public static final String ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION"; field public static final String ACTION_MANAGE_APPLICATIONS_SETTINGS = "android.settings.MANAGE_APPLICATIONS_SETTINGS"; field public static final String ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION"; field public static final String ACTION_MANAGE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_DEFAULT_APPS_SETTINGS"; field public static final String ACTION_MANAGE_OVERLAY_PERMISSION = "android.settings.action.MANAGE_OVERLAY_PERMISSION"; field public static final String ACTION_MANAGE_UNKNOWN_APP_SOURCES = "android.settings.MANAGE_UNKNOWN_APP_SOURCES"; core/java/android/provider/Settings.java +36 −0 Original line number Diff line number Diff line Loading @@ -14403,6 +14403,42 @@ public final class Settings { android.Manifest.permission.SYSTEM_ALERT_WINDOW }; /** * Activity Action: Show screen for controlling which apps have access to manage external * storage. * <p> * In some cases, a matching Activity may not exist, so ensure you safeguard against this. * <p> * If you want to control a specific app's access to manage external storage, use * {@link #ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION} instead. * <p> * Output: Nothing. * @see #ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION"; /** * Activity Action: Show screen for controlling if the app specified in the data URI of the * intent can manage external storage. * <p> * Launching the corresponding activity requires the permission * {@link Manifest.permission#MANAGE_EXTERNAL_STORAGE}. * <p> * In some cases, a matching Activity may not exist, so ensure you safeguard against this. * <p> * Input: The Intent's data URI MUST specify the application package name whose ability of * managing external storage you want to control. * For example "package:com.my.app". * <p> * Output: Nothing. * @see #ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION"; /** * Performs a strict and comprehensive check of whether a calling package is allowed to * write/modify system settings, as the condition differs for pre-M, M+, and Loading
api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -39528,7 +39528,9 @@ package android.provider { field public static final String ACTION_LOCALE_SETTINGS = "android.settings.LOCALE_SETTINGS"; field public static final String ACTION_LOCATION_SOURCE_SETTINGS = "android.settings.LOCATION_SOURCE_SETTINGS"; field public static final String ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS = "android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS"; field public static final String ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION"; field public static final String ACTION_MANAGE_APPLICATIONS_SETTINGS = "android.settings.MANAGE_APPLICATIONS_SETTINGS"; field public static final String ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION"; field public static final String ACTION_MANAGE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_DEFAULT_APPS_SETTINGS"; field public static final String ACTION_MANAGE_OVERLAY_PERMISSION = "android.settings.action.MANAGE_OVERLAY_PERMISSION"; field public static final String ACTION_MANAGE_UNKNOWN_APP_SOURCES = "android.settings.MANAGE_UNKNOWN_APP_SOURCES";
core/java/android/provider/Settings.java +36 −0 Original line number Diff line number Diff line Loading @@ -14403,6 +14403,42 @@ public final class Settings { android.Manifest.permission.SYSTEM_ALERT_WINDOW }; /** * Activity Action: Show screen for controlling which apps have access to manage external * storage. * <p> * In some cases, a matching Activity may not exist, so ensure you safeguard against this. * <p> * If you want to control a specific app's access to manage external storage, use * {@link #ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION} instead. * <p> * Output: Nothing. * @see #ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION"; /** * Activity Action: Show screen for controlling if the app specified in the data URI of the * intent can manage external storage. * <p> * Launching the corresponding activity requires the permission * {@link Manifest.permission#MANAGE_EXTERNAL_STORAGE}. * <p> * In some cases, a matching Activity may not exist, so ensure you safeguard against this. * <p> * Input: The Intent's data URI MUST specify the application package name whose ability of * managing external storage you want to control. * For example "package:com.my.app". * <p> * Output: Nothing. * @see #ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION"; /** * Performs a strict and comprehensive check of whether a calling package is allowed to * write/modify system settings, as the condition differs for pre-M, M+, and