Merge "Animate the bubble notification in overview" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
4785a5e24e
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user