[3/5] Implement DragToBubbleController.
Implement DragToBubbleController internal logic that utilises DropTargetManager to show drop targets for the bubble bar drop zones. Bug: 411506181 Flag: com.android.wm.shell.enable_create_any_bubble Test: Manual. Go to overview screen and drag app icons from the taskbar over the bubble bar Change-Id: I844151c5e11f237c475d8a26a7784c5662dad658
This commit is contained in:
1 parent
86f7a230f8
commit
5b80c31380
5 files changed
+238
-136
No files matched your search
@@ -131,8 +131,8 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im
|
||||
|
||||
public void init(TaskbarControllers controllers) {
|
||||
mControllers = controllers;
|
||||
mControllers.bubbleControllers.ifPresent(
|
||||
c -> c.dragToBubbleController.addBubbleBarDropTargets(this));
|
||||
mControllers.runAfterInit(() -> mControllers.bubbleControllers.ifPresent(
|
||||
c -> c.dragToBubbleController.addBubbleBarDropTargets(this)));
|
||||
}
|
||||
|
||||
/** Called when the controller is destroyed. */
|
||||
|
||||
Reference in new issue
Block a user