Merge "Pass a location when dragging bubble to fullscreen" into main
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user