Merge "Don't animate new bubble when already expanded" into main

This commit is contained in:
Liran Binyamin
2024-04-25 22:56:57 +00:00
committed by Android (Google) Code Review

View File

@@ -388,7 +388,7 @@ public class BubbleBarViewController {
boolean isInApp = mTaskbarStashController.isInApp();
// only animate the new bubble if we're in an app and not auto expanding
if (b instanceof BubbleBarBubble && isInApp && !isExpanding) {
if (b instanceof BubbleBarBubble && isInApp && !isExpanding && !isExpanded()) {
mBubbleBarViewAnimator.animateBubbleInForStashed((BubbleBarBubble) b);
}
} else {