Merge "Animate the bubble notification in overview" into main

This commit is contained in:
Liran Binyamin
2024-11-11 23:08:03 +00:00
committed by Android (Google) Code Review
@@ -895,9 +895,10 @@ public class BubbleBarViewController {
mBubbleBarViewAnimator.animateToInitialState(bubble, isInApp, isExpanding);
return;
}
boolean persistentTaskbarOrOnHome = mBubbleStashController.isBubblesShowingOnHome()
// if we're not stashed or we're in persistent taskbar, animate for collapsed state.
boolean animateForCollapsed = !mBubbleStashController.isStashed()
|| !mBubbleStashController.isTransientTaskBar();
if (persistentTaskbarOrOnHome) {
if (animateForCollapsed) {
mBubbleBarViewAnimator.animateBubbleBarForCollapsed(bubble, isExpanding);
return;
}