summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/Prefs.java
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2018-02-21 11:41:33 -0500
committerJulia Reynolds <juliacr@google.com>2018-02-22 10:10:42 -0500
commitee57193bb63ba64db1bfd70d9932588ebee7c5ff (patch)
tree49fb0ef4e4a5c86245922648157a1ef3181944ee /packages/SystemUI/src/com/android/systemui/Prefs.java
parentcfa8785e1f7713dd0968f0d61d221d9046636151 (diff)
New small volume dialog
- Remove labels - Remove output chooser dialog - Reorder icons - Add settings affordance - Add instructive toast Test: manual Change-Id: I6640fb8147707936fe22e3c756ab29116973fbe3 Fixes: 73719758 Fixes: 73333233 Fixes: 71663761
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/Prefs.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/Prefs.java44
1 files changed, 23 insertions, 21 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/Prefs.java b/packages/SystemUI/src/com/android/systemui/Prefs.java
index 8b577400357d..ee573fbeaf33 100644
--- a/packages/SystemUI/src/com/android/systemui/Prefs.java
+++ b/packages/SystemUI/src/com/android/systemui/Prefs.java
@@ -30,27 +30,28 @@ public final class Prefs {
@Retention(RetentionPolicy.SOURCE)
@StringDef({
- Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME,
- Key.DEBUG_MODE_ENABLED,
- Key.HOTSPOT_TILE_LAST_USED,
- Key.COLOR_INVERSION_TILE_LAST_USED,
- Key.DND_TILE_VISIBLE,
- Key.DND_TILE_COMBINED_ICON,
- Key.DND_CONFIRMED_PRIORITY_INTRODUCTION,
- Key.DND_CONFIRMED_SILENCE_INTRODUCTION,
- Key.DND_FAVORITE_BUCKET_INDEX,
- Key.DND_NONE_SELECTED,
- Key.DND_FAVORITE_ZEN,
- Key.QS_HOTSPOT_ADDED,
- Key.QS_DATA_SAVER_ADDED,
- Key.QS_DATA_SAVER_DIALOG_SHOWN,
- Key.QS_INVERT_COLORS_ADDED,
- Key.QS_WORK_ADDED,
- Key.QS_NIGHTDISPLAY_ADDED,
- Key.QS_LONG_PRESS_TOOLTIP_SHOWN_COUNT,
- Key.SEEN_MULTI_USER,
- Key.NUM_APPS_LAUNCHED,
- Key.HAS_SEEN_RECENTS_ONBOARDING,
+ Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME,
+ Key.DEBUG_MODE_ENABLED,
+ Key.HOTSPOT_TILE_LAST_USED,
+ Key.COLOR_INVERSION_TILE_LAST_USED,
+ Key.DND_TILE_VISIBLE,
+ Key.DND_TILE_COMBINED_ICON,
+ Key.DND_CONFIRMED_PRIORITY_INTRODUCTION,
+ Key.DND_CONFIRMED_SILENCE_INTRODUCTION,
+ Key.DND_FAVORITE_BUCKET_INDEX,
+ Key.DND_NONE_SELECTED,
+ Key.DND_FAVORITE_ZEN,
+ Key.QS_HOTSPOT_ADDED,
+ Key.QS_DATA_SAVER_ADDED,
+ Key.QS_DATA_SAVER_DIALOG_SHOWN,
+ Key.QS_INVERT_COLORS_ADDED,
+ Key.QS_WORK_ADDED,
+ Key.QS_NIGHTDISPLAY_ADDED,
+ Key.QS_LONG_PRESS_TOOLTIP_SHOWN_COUNT,
+ Key.SEEN_MULTI_USER,
+ Key.NUM_APPS_LAUNCHED,
+ Key.HAS_SEEN_RECENTS_ONBOARDING,
+ Key.SEEN_RINGER_GUIDANCE_COUNT
})
public @interface Key {
@Deprecated
@@ -85,6 +86,7 @@ public final class Prefs {
String SEEN_MULTI_USER = "HasSeenMultiUser";
String NUM_APPS_LAUNCHED = "NumAppsLaunched";
String HAS_SEEN_RECENTS_ONBOARDING = "HasSeenRecentsOnboarding";
+ String SEEN_RINGER_GUIDANCE_COUNT = "RingerGuidanceCount";
}
public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) {