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

Commit 4f35ee99 authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Don't animate new bubble when already expanded

Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Bug: 280605846
Test: manual
Change-Id: I2fe4eb1ad05cfe693630c3a4a8493fecba81965c
parent 191f4de9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,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 {