mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user