From 7d00841d44a4e61fc1b64775226ff197db7ddd18 Mon Sep 17 00:00:00 2001 From: mpodolian Date: Fri, 30 May 2025 16:46:42 -0700 Subject: [PATCH] Updated shell IPC methods Updated shell IPC methods to display bubble bar pillow view Bug: 411505605 Test: TreeHugger Flag: EXEMPT - code removal Change-Id: I27d19c041433164c1a8cb5bb403a824903bf7dbf --- .../taskbar/bubbles/BubbleBarController.java | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarController.java b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarController.java index 32ff767b0d..443c451190 100644 --- a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarController.java +++ b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarController.java @@ -35,8 +35,6 @@ import android.util.ArrayMap; import android.util.Log; import android.view.View; -import androidx.annotation.NonNull; - import com.android.launcher3.taskbar.TaskbarSharedState; import com.android.launcher3.taskbar.bubbles.stashing.BubbleStashController; import com.android.launcher3.util.Executors.SimpleThreadFactory; @@ -636,23 +634,9 @@ public class BubbleBarController extends IBubblesListener.Stub { } @Override - public void onDragItemOverBubbleBarDragZone(@NonNull BubbleBarLocation bubbleBarLocation) { + public void showBubbleBarPillowAt(@Nullable BubbleBarLocation location) { MAIN_EXECUTOR.execute(() -> { - mBubbleBarViewController.onDragItemOverBubbleBarDragZone(bubbleBarLocation); - if (mBubbleBarViewController.isLocationUpdatedForDropTarget()) { - mBubbleBarLocationListener.onBubbleBarLocationAnimated(bubbleBarLocation); - } - }); - } - - @Override - public void onItemDraggedOutsideBubbleBarDropZone() { - MAIN_EXECUTOR.execute(() -> { - if (mBubbleBarViewController.isLocationUpdatedForDropTarget()) { - BubbleBarLocation original = mBubbleBarViewController.getBubbleBarLocation(); - mBubbleBarLocationListener.onBubbleBarLocationAnimated(original); - } - mBubbleBarViewController.onItemDraggedOutsideBubbleBarDropZone(); + //TODO(b/411505605) add logic to show pillow and update taskbar }); }