Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a977d6b4 authored by mpodolian's avatar mpodolian
Browse files

Taskbar app icon drag interruption fix.

When there are no bubbles and the taskbar is not present on the screen,
the bubble bar drop target needs to be shown for the dragged taskbar
icon. To show the drop target, the view is added to the bubble bar's
parent layout. When the drop target should be hidden, the view is
removed.

The issue was caused by an incorrect parent container being passed to
the BubbleBarPinController. Instead of the bubble bar container, the
entire drag layer was used. Removing the view from the drag layer
interrupted the drag gesture.

Adding/removing the drop target view directly to the bubble bar
container does not affect the drag.

Bug: 397459664
Flag: com.android.wm.shell.enable_create_any_bubble
Test: Manual. Be on the overview screen with no bubbles present. Drag
the taskbar over the bubble drop zone and then back. Observe that the
drag is not interrupted.

Change-Id: I116883117b3da39528a4586a2436a10838625600
parent b0fe8237
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment