From 4f35ee99686ddf6bd29ca1271e9a1e0a949b0a68 Mon Sep 17 00:00:00 2001 From: Liran Binyamin Date: Mon, 22 Apr 2024 17:27:38 -0400 Subject: [PATCH] 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 --- .../launcher3/taskbar/bubbles/BubbleBarViewController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java index 0e62eafb4b..687696f39e 100644 --- a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java +++ b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java @@ -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 {