Merge "Pass a location when dragging bubble to fullscreen" into main

This commit is contained in:
Liran Binyamin authored and Android (Google) Code Review committed 2025-03-12 12:05:36 -07:00
commit 8b7c4a8f28
3 files changed
+13 -11

No files matched your search

@@ -1406,12 +1406,12 @@ public class BubbleBarViewController {
* Removes the bubble from the bubble bar and notifies sysui that the bubble should move to
* full screen.
*/
public void moveBubbleToFullscreen(@NonNull BubbleView bubbleView) {
public void moveDraggedBubbleToFullscreen(@NonNull BubbleView bubbleView, Point dropLocation) {
if (bubbleView.getBubble() == null) {
return;
}
String key = bubbleView.getBubble().getKey();
mSystemUiProxy.moveBubbleToFullscreen(key);
mSystemUiProxy.moveDraggedBubbleToFullscreen(key, dropLocation);
onBubbleDismissed(bubbleView);
}