summaryrefslogtreecommitdiff
path: root/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
diff options
context:
space:
mode:
authorAndy Wickham <awickham@google.com>2021-07-30 16:00:20 -1000
committerTony Wickham <twickham@google.com>2021-08-17 09:57:47 -0700
commit13f3ffed950ad1cf1956968fd9901ae4edb51297 (patch)
tree015f62a3fdd03567faa93501dc984c8a01065afc /quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
parent40f86763bcf85f75be7a46fee27e53e96d8a1f27 (diff)
Adds initial Taskbar Edu implementation.
Currently it just pops up with one placeholder image for splitscreen. The Next button doesn't do anything. Screenshots: Light: https://screenshot.googleplex.com/B27CwBcwobHTghN.png Dark: https://screenshot.googleplex.com/48EuJZv8evd5RGW.png Known issues: - Back gesture is picked up behind by the app behind the taskbar. - When the flag is enabled, the Edu shows up each time you open an app, rather than only the first time. Bug: 180605356 Test: Manual Change-Id: Ifba9aa59abf1501b5f8ddebb3fcc13df85f6efaa
Diffstat (limited to 'quickstep/src/com/android/launcher3/QuickstepTransitionManager.java')
-rw-r--r--quickstep/src/com/android/launcher3/QuickstepTransitionManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
index d41590b10b..433ae3c0e5 100644
--- a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
+++ b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
@@ -670,6 +670,10 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
if (v instanceof BubbleTextView) {
((BubbleTextView) v).setStayPressed(false);
}
+ LauncherTaskbarUIController taskbarController = mLauncher.getTaskbarUIController();
+ if (taskbarController != null) {
+ taskbarController.showEdu();
+ }
openingTargets.release();
}
});