Wire up bubble dragging to DropTargetManager

This change creates DropTargetManager and DragZoneFactory in launcher
and supports dragging individual bubbles between bubble drag zones.

Flag: com.android.wm.shell.enable_bubble_to_fullscreen
Test: manual:
       - drag bubble across different sides and release
       - drag bubble to dismiss
Bug: 393173014
Change-Id: I58b2522baaf6b088bf8484913ba51c03aadfdd8c
This commit is contained in:
Liran Binyamin committed 2025-03-04 07:50:11 -08:00
1 parent aee4b11336
commit 32dd27c8aa
2 files changed
+109 -13

No files matched your search

@@ -326,7 +326,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
new BubbleBarViewController(this, bubbleBarView, bubbleBarContainer),
bubbleStashController,
bubbleHandleController,
new BubbleDragController(this),
new BubbleDragController(this, mDragLayer),
new BubbleDismissController(this, mDragLayer),
new BubbleBarPinController(this, mDragLayer,
() -> DisplayController.INSTANCE.get(this).getInfo().currentSize),