Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f9c2cc0 authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Animate the bubble notification in overview

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 378095516
Test: manual
       - swipe to overview
       - send bubble notification
       - observe bubble animation
Change-Id: I9e52f1f7c7ddcc19b075af662d79ee9327b89fdb
parent 127eb0b4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -893,9 +893,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;
        }