Merge "Handle touch on bubble bar while animating" into main

This commit is contained in:
Liran Binyamin
2024-05-13 17:30:40 +00:00
committed by Android (Google) Code Review
5 changed files with 88 additions and 33 deletions
@@ -124,7 +124,7 @@ public class BubbleDragController {
@Override
void onDragEnd() {
mBubbleBarController.updateBubbleBarLocation(mReleasedLocation);
mBubbleBarViewController.onDragEnd();
mBubbleBarViewController.onDragBubbleEnded();
mBubblePinController.setListener(null);
}
@@ -192,6 +192,7 @@ public class BubbleDragController {
bubbleBarView.setIsDragging(false);
// Restoring the initial pivot for the bubble bar view
bubbleBarView.setRelativePivot(initialRelativePivot.x, initialRelativePivot.y);
mBubbleBarViewController.onDragBubbleBarEnded();
mBubbleBarPinController.setListener(null);
}