Launcher TAPL test for dragging task bar icon to the bubble bar.

Added a test and TAPL objects to check dragging taskbar icons to the
bubble bar.

Fixes: 388910897
Test: TaplTestTaskBarIconDrag
Flag: EXEMPT test
Change-Id: I8a3e64a83c72a9f6b89b2f8a875ca6565d501701
This commit is contained in:
mpodolian
2025-03-21 11:13:13 -07:00
parent 93a7212f7e
commit 9764250b60
15 changed files with 465 additions and 27 deletions
@@ -674,7 +674,7 @@ public class BubbleDragController {
}
@Override
public void onInitialDragZoneSet(@NonNull DragZone dragZone) {
public void onInitialDragZoneSet(@Nullable DragZone dragZone) {
mDragZone = dragZone;
if (dragZone instanceof DragZone.Bubble.Left) {
mBubbleBarLocation = BubbleBarLocation.LEFT;
@@ -684,8 +684,8 @@ public class BubbleDragController {
}
@Override
public void onDragZoneChanged(@NonNull DraggedObject draggedObject, @NonNull DragZone from,
@NonNull DragZone to) {
public void onDragZoneChanged(@NonNull DraggedObject draggedObject, @Nullable DragZone from,
@Nullable DragZone to) {
mDragZone = to;
if (to instanceof DragZone.Bubble.Left
&& mBubbleBarLocation != BubbleBarLocation.LEFT) {
@@ -703,6 +703,6 @@ public class BubbleDragController {
}
@Override
public void onDragEnded(@NonNull DragZone zone) {}
public void onDragEnded(@Nullable DragZone zone) {}
}
}