diff options
author | Tony Wickham <twickham@google.com> | 2018-01-16 12:14:06 -0800 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2018-01-23 16:02:27 -0800 |
commit | fb63fe85f28a94d6a8c88c64e91fb4565dfbed3e (patch) | |
tree | bb00eaa9e2aa12eec55be807096cb3c6fd4b3465 /packages/SystemUI/src/com/android/systemui/Prefs.java | |
parent | a17274fb0521e500554a94b6c7cc6a46ea4c49b1 (diff) |
Add swipe up onboarding from apps
After launching 3 apps, we create a window at the bottom
attached to the nav bar to teach users to swipe for recents.
There is an X on this window to dismiss it, but we will keep
showing the onboarding every time they open apps until they
perform the swipe up action.
Test: manual
Bug: 70180942
Change-Id: I4b15fac918b7b1633a3c09ab0819f2acb1dce697
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/Prefs.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/Prefs.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/Prefs.java b/packages/SystemUI/src/com/android/systemui/Prefs.java index 4437d314a7c2..9319bc60f9ef 100644 --- a/packages/SystemUI/src/com/android/systemui/Prefs.java +++ b/packages/SystemUI/src/com/android/systemui/Prefs.java @@ -48,6 +48,8 @@ public final class Prefs { Key.QS_WORK_ADDED, Key.QS_NIGHTDISPLAY_ADDED, Key.SEEN_MULTI_USER, + Key.NUM_APPS_LAUNCHED, + Key.HAS_SWIPED_UP_FOR_RECENTS, }) public @interface Key { @Deprecated @@ -75,6 +77,8 @@ public final class Prefs { @Deprecated String QS_NIGHTDISPLAY_ADDED = "QsNightDisplayAdded"; String SEEN_MULTI_USER = "HasSeenMultiUser"; + String NUM_APPS_LAUNCHED = "NumAppsLaunched"; + String HAS_SWIPED_UP_FOR_RECENTS = "HasSwipedUpForRecents"; } public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { |