Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API

Test: cts-tradefed run cts -m CtsSystemIntentTestCases -t \
android.systemintents.cts.TestSystemIntents
Bug: 129901520

Change-Id: I710867f6d6fffb86d7f3991f39bde4bf9d62e5f7
This commit is contained in:
Sean Stout
2019-04-15 11:17:43 -07:00
parent aeb8c50660
commit c568477004
2 changed files with 4 additions and 5 deletions

View File

@@ -38846,6 +38846,7 @@ package android.provider {
field public static final String ACTION_APPLICATION_DETAILS_SETTINGS = "android.settings.APPLICATION_DETAILS_SETTINGS";
field public static final String ACTION_APPLICATION_DEVELOPMENT_SETTINGS = "android.settings.APPLICATION_DEVELOPMENT_SETTINGS";
field public static final String ACTION_APPLICATION_SETTINGS = "android.settings.APPLICATION_SETTINGS";
field public static final String ACTION_APP_BATTERY_SETTINGS = "android.settings.APP_BATTERY_SETTINGS";
field public static final String ACTION_APP_NOTIFICATION_BUBBLE_SETTINGS = "android.settings.APP_NOTIFICATION_BUBBLE_SETTINGS";
field public static final String ACTION_APP_NOTIFICATION_SETTINGS = "android.settings.APP_NOTIFICATION_SETTINGS";
field public static final String ACTION_APP_SEARCH_SETTINGS = "android.settings.APP_SEARCH_SETTINGS";

View File

@@ -955,18 +955,16 @@ public final class Settings {
"android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";
/**
* Activity Action: Open the advanced power usage details page of an associated app.
* Activity Action: Open the battery details page of an associated app.
* <p>
* Input: Intent's data URI set with an application name, using the
* "package" schema (like "package:com.my.app")
* <p>
* Output: Nothing.
*
* @hide
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL =
"android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL";
public static final String ACTION_APP_BATTERY_SETTINGS =
"android.settings.APP_BATTERY_SETTINGS";
/**
* Activity Action: Show screen for controlling background data