Merge "Don't recreate taskbar in Overview" into main

This commit is contained in:
Jagrut Desai authored and Android (Google) Code Review committed 2024-12-19 13:00:03 -08:00
commit 636aba5acb
18 files changed
+108 -29

No files matched your search

@@ -215,7 +215,8 @@ public class TaskbarPopupController implements TaskbarControllers.LoggableTaskba
shortcuts.add(PIN_UNPIN_ITEM);
}
shortcuts.add(APP_INFO);
if (!mControllers.taskbarDesktopModeController.getAreDesktopTasksVisible()) {
if (!mControllers.taskbarDesktopModeController
.getAreDesktopTasksVisibleAndNotInOverview()) {
shortcuts.addAll(mControllers.uiController.getSplitMenuOptions().toList());
}
if (com.android.wm.shell.Flags.enableBubbleAnything()) {