Include bubbles in the dragged items of taskbar UI controller

Flag: com.android.wm.shell.enable_bubble_bar
Test: manual - test dragging bubbles with the other CL
Bug: 345488529
Change-Id: I95085fd18f2710cd36a2d47640641da047aa48c7
This commit is contained in:
Mady Mellor
2024-08-15 15:52:53 -07:00
parent cafe06f63d
commit d22a0b84cb
2 changed files with 20 additions and 1 deletions

View File

@@ -289,7 +289,12 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
}
public boolean isDraggingItem() {
return mControllers.taskbarDragController.isDragging();
boolean bubblesDragging = false;
if (mControllers.bubbleControllers.isPresent()) {
bubblesDragging =
mControllers.bubbleControllers.get().bubbleDragController.isDragging();
}
return mControllers.taskbarDragController.isDragging() || bubblesDragging;
}
@Override