diff options
| author | 2022-04-18 17:09:02 +0000 | |
|---|---|---|
| committer | 2022-04-18 17:09:02 +0000 | |
| commit | 983602fcea625c18b30d433ae33085bec1a18f1f (patch) | |
| tree | 778ebc8df952cd637bf89cd377727350a19dd6e5 | |
| parent | 9e7e2b5c32e97e4b8a60e8eba313534d1b154449 (diff) | |
| parent | 937b03e8aba93cf04c79c0b97e5bc54a641debb7 (diff) | |
Merge "Add strings to Settings.Secure for notification permission" into tm-dev
| -rw-r--r-- | core/java/android/provider/Settings.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 111c6704a57d..d4ce21eef794 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2013,6 +2013,15 @@ public final class 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> * Input: {@link #EXTRA_APP_PACKAGE}, the package to display. @@ -7670,6 +7679,20 @@ public final class Settings { "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). * @hide |