Merge "Add an intent action system API for bedtime settings"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3cef8c7f57
@@ -10233,6 +10233,7 @@ package android.provider {
|
||||
method @Deprecated public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, boolean);
|
||||
method public static boolean checkAndNoteWriteSettingsOperation(@NonNull android.content.Context, int, @NonNull String, @Nullable String, boolean);
|
||||
field public static final String ACTION_ACCESSIBILITY_DETAILS_SETTINGS = "android.settings.ACCESSIBILITY_DETAILS_SETTINGS";
|
||||
field public static final String ACTION_BEDTIME_SETTINGS = "android.settings.BEDTIME_SETTINGS";
|
||||
field public static final String ACTION_BUGREPORT_HANDLER_SETTINGS = "android.settings.BUGREPORT_HANDLER_SETTINGS";
|
||||
field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS";
|
||||
field public static final String ACTION_LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS = "android.settings.LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS";
|
||||
|
||||
@@ -2436,6 +2436,23 @@ public final class Settings {
|
||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||
public static final String ACTION_MMS_MESSAGE_SETTING = "android.settings.MMS_MESSAGE_SETTING";
|
||||
|
||||
/**
|
||||
* Activity Action: Show a screen of bedtime settings, which is provided by the wellbeing app.
|
||||
* <p>
|
||||
* The handler of this intent action may not exist.
|
||||
* <p>
|
||||
* To start an activity with this intent, apps should set the wellbeing package explicitly in
|
||||
* the intent together with this action. The wellbeing package is defined in
|
||||
* {@code com.android.internal.R.string.config_defaultWellbeingPackage}.
|
||||
* <p>
|
||||
* Output: Nothing
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||
public static final String ACTION_BEDTIME_SETTINGS = "android.settings.BEDTIME_SETTINGS";
|
||||
|
||||
// End of Intent actions for Settings
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user