Implement new bubble animation when collapsed
Bounce the bubble bar when a new bubble is received while the bubble bar is collapsed. Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/fn7NWNY3htuR6K3wxhfcK2 Flag: com.android.wm.shell.enable_bubble_bar Bug: 280605790 Test: atest BubbleBarViewAnimatorTest Change-Id: I4c622454fd99f6bb5a332b3fe4aa2764c8af93af
This commit is contained in:
1 parent
ff83f1c448
commit
9e15f07c1c
4 files changed
+111
-2
No files matched your search
@@ -435,6 +435,11 @@ public class BubbleBarViewController {
|
||||
return;
|
||||
}
|
||||
|
||||
if (mBubbleStashController.isBubblesShowingOnHome() && !isExpanding && !isExpanded()) {
|
||||
mBubbleBarViewAnimator.animateBubbleBarForCollapsed(bubble);
|
||||
return;
|
||||
}
|
||||
|
||||
// only animate the new bubble if we're in an app and not auto expanding
|
||||
if (isInApp && !isExpanding && !isExpanded()) {
|
||||
mBubbleBarViewAnimator.animateBubbleInForStashed(bubble);
|
||||
|
||||
Reference in new issue
Block a user