Merge "Add strings to Settings.Secure for notification permission" into tm-dev am: 983602fcea

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17716554

Change-Id: I550aabfadc3382ea7de1c98b41294cd966083994
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Yuri Lin
2022-04-18 17:24:04 +00:00
committed by Automerger Merge Worker

View File

@@ -2012,6 +2012,15 @@ public final class Settings {
public static final String ACTION_ALL_APPS_NOTIFICATION_SETTINGS =
"android.settings.ALL_APPS_NOTIFICATION_SETTINGS";
/**
* Activity Action: Show app settings specifically for sending notifications. Same as
* ALL_APPS_NOTIFICATION_SETTINGS but meant for internal use.
* @hide
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_ALL_APPS_NOTIFICATION_SETTINGS_FOR_REVIEW =
"android.settings.ALL_APPS_NOTIFICATION_SETTINGS_FOR_REVIEW";
/**
* Activity Action: Show notification settings for a single app.
* <p>
@@ -7669,6 +7678,20 @@ public final class Settings {
public static final String ZEN_SETTINGS_SUGGESTION_VIEWED =
"zen_settings_suggestion_viewed";
/**
* State of whether review notification permissions notification needs to
* be shown the user, and whether the user has interacted.
*
* Valid values:
* -1 = UNKNOWN
* 0 = SHOULD_SHOW
* 1 = USER_INTERACTED
* 2 = DISMISSED
* @hide
*/
public static final String REVIEW_PERMISSIONS_NOTIFICATION_STATE =
"review_permissions_notification_state";
/**
* Whether the in call notification is enabled to play sound during calls. The value is
* boolean (1 or 0).