Merge "Drag and drop from the search view on the overview screen." into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2025-03-11 18:26:48 -07:00
commit 8561c5690f
8 files changed
+43 -17

No files matched your search

@@ -131,6 +131,14 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im
public void init(TaskbarControllers controllers) {
mControllers = controllers;
mControllers.bubbleControllers.ifPresent(
c -> c.bubbleBarViewController.addBubbleBarDropTargets(this));
}
/** Called when the controller is destroyed. */
public void onDestroy() {
mControllers.bubbleControllers.ifPresent(
c -> c.bubbleBarViewController.removeBubbleBarDropTargets(this));
}
public void setDisallowGlobalDrag(boolean disallowGlobalDrag) {