mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
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