diff options
| author | Chris Wren <cwren@google.com> | 2017-10-02 17:29:46 -0400 |
|---|---|---|
| committer | Chris Wren <cwren@google.com> | 2017-10-02 17:38:16 -0400 |
| commit | e901a7e0ed81f76c2330dbbfcec4a448c40cf4de (patch) | |
| tree | 4401f84020c692667188d5db8345be46b2638aa9 /core/java/android | |
| parent | 488665d9e38128b431951418ed67e4e1cc5a0a2e (diff) | |
Enable experimentation on notification snooze options
Bug: 67003813
Test: runtest systemui
Change-Id: Id46ef3938e2edc633f64cec7b66e10d80c9a0bff
Diffstat (limited to 'core/java/android')
| -rwxr-xr-x | core/java/android/provider/Settings.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 54f587ef28b9..b1a2133168b5 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -10839,6 +10839,26 @@ public final class Settings { */ public static final String ENABLE_DELETION_HELPER_NO_THRESHOLD_TOGGLE = "enable_deletion_helper_no_threshold_toggle"; + + /** + * The list of snooze options for notifications + * This is encoded as a key=value list, separated by commas. Ex: + * + * "default=60,options_array=15:30:60:120" + * + * The following keys are supported: + * + * <pre> + * default (int) + * options_array (string) + * </pre> + * + * All delays in integer minutes. Array order is respected. + * Options will be used in order up to the maximum allowed by the UI. + * @hide + */ + public static final String NOTIFICATION_SNOOZE_OPTIONS = + "notification_snooze_options"; } /** |
