Merge "Added Settings intents" into rvc-dev am: a35a860c36 am: 84c3b35b94 am: 668f4ab634

Change-Id: Iaf3712183ffc3baa28b0837d90529ce9ec0c582f
This commit is contained in:
Fabian Kozynski
2020-04-09 18:05:10 +00:00
committed by Automerger Merge Worker
2 changed files with 28 additions and 0 deletions

View File

@@ -1869,6 +1869,24 @@ public final class Settings {
@UnsupportedAppUsage
public static final String EXTRA_APP_UID = "app_uid";
/**
* Activity Action: Show power menu settings.
*
* @hide
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_POWER_MENU_SETTINGS =
"android.settings.ACTION_POWER_MENU_SETTINGS";
/**
* Activity Action: Show controls settings.
*
* @hide
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_DEVICE_CONTROLS_SETTINGS =
"android.settings.ACTION_DEVICE_CONTROLS_SETTINGS";
/**
* Activity Action: Show a dialog with disabled by policy message.
* <p> If an user action is disabled by policy, this dialog can be triggered to let

View File

@@ -2674,4 +2674,14 @@ enum PageId {
// CATEGORY: SETTINGS
// OS: R
FUELGAUGE_ADVANCED_BATTERY_OPTION = 1842;
// OPEN: Settings > System > Gestures > Power menu
// CATEGORY: SETTINGS
// OS: R
POWER_MENU_SETTINGS = 1843;
// OPEN: Settings > System > Gestures > Power menu > Device controls
// CATEGORY: SETTINGS
// OS: R
DEVICE_CONTROLS_SETTINGS = 1844;
}