Merge "Add action for reaching ignore battery optimizations" into mnc-dev
This commit is contained in:
@@ -26537,6 +26537,7 @@ package android.provider {
|
||||
field public static final java.lang.String ACTION_DISPLAY_SETTINGS = "android.settings.DISPLAY_SETTINGS";
|
||||
field public static final java.lang.String ACTION_DREAM_SETTINGS = "android.settings.DREAM_SETTINGS";
|
||||
field public static final java.lang.String ACTION_HOME_SETTINGS = "android.settings.HOME_SETTINGS";
|
||||
field public static final java.lang.String ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS = "android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS";
|
||||
field public static final java.lang.String ACTION_INPUT_METHOD_SETTINGS = "android.settings.INPUT_METHOD_SETTINGS";
|
||||
field public static final java.lang.String ACTION_INPUT_METHOD_SUBTYPE_SETTINGS = "android.settings.INPUT_METHOD_SUBTYPE_SETTINGS";
|
||||
field public static final java.lang.String ACTION_INTERNAL_STORAGE_SETTINGS = "android.settings.INTERNAL_STORAGE_SETTINGS";
|
||||
|
||||
@@ -28569,6 +28569,7 @@ package android.provider {
|
||||
field public static final java.lang.String ACTION_DISPLAY_SETTINGS = "android.settings.DISPLAY_SETTINGS";
|
||||
field public static final java.lang.String ACTION_DREAM_SETTINGS = "android.settings.DREAM_SETTINGS";
|
||||
field public static final java.lang.String ACTION_HOME_SETTINGS = "android.settings.HOME_SETTINGS";
|
||||
field public static final java.lang.String ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS = "android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS";
|
||||
field public static final java.lang.String ACTION_INPUT_METHOD_SETTINGS = "android.settings.INPUT_METHOD_SETTINGS";
|
||||
field public static final java.lang.String ACTION_INPUT_METHOD_SUBTYPE_SETTINGS = "android.settings.INPUT_METHOD_SUBTYPE_SETTINGS";
|
||||
field public static final java.lang.String ACTION_INTERNAL_STORAGE_SETTINGS = "android.settings.INTERNAL_STORAGE_SETTINGS";
|
||||
|
||||
@@ -576,6 +576,21 @@ public final class Settings {
|
||||
public static final String ACTION_APPLICATION_DETAILS_SETTINGS =
|
||||
"android.settings.APPLICATION_DETAILS_SETTINGS";
|
||||
|
||||
/**
|
||||
* Activity Action: Show screen for controlling which apps can ignore battery optimizations.
|
||||
* <p>
|
||||
* In some cases, a matching Activity may not exist, so ensure you
|
||||
* safeguard against this.
|
||||
* <p>
|
||||
* Input: The Intent's data URI specifies the application package name
|
||||
* to be shown, with the "package" scheme. That is "package:com.my.app".
|
||||
* <p>
|
||||
* Output: Nothing.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||
public static final String ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS =
|
||||
"android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS";
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Activity Action: Show the "app ops" settings screen.
|
||||
|
||||
Reference in New Issue
Block a user