Merge "Better support transient and persistent taskbar in taskbar's overlays." into tm-qpr-dev am: a76222d209 am: e34202df54

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20693438

Change-Id: I6b7bef257cd1553c6a2e79e99c52926b2b3f3012
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jon Miranda
2022-12-12 12:25:55 +00:00
committed by Automerger Merge Worker
7 changed files with 76 additions and 39 deletions

View File

@@ -878,6 +878,16 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
mControllers.taskbarStashController.updateAndAnimateTransientTaskbar(false);
}
/** Called when we want to hide the overlay window when user performs swipe up gesture. */
public void onSwipeToHideOverlay() {
mControllers.taskbarOverlayController.hideWindow();
}
/** Returns {@code true} if taskbar is stashed. */
public boolean isTaskbarStashed() {
return mControllers.taskbarStashController.isStashed();
}
/**
* Called to start the taskbar translation spring to its settled translation (0).
*/