commit | 9af43dfdf8a342f778ab14d4ee3bdeb4e75fb96e | [log] [tgz] |
---|---|---|
author | Liran Binyamin <liranb@google.com> | Thu Apr 25 22:56:57 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Apr 25 22:56:57 2024 +0000 |
tree | eae57554f2213f98be0db132a08071e45c61bd43 | |
parent | b8cf10a40951935e78966e35df7a967212f4133f [diff] | |
parent | 4f35ee99686ddf6bd29ca1271e9a1e0a949b0a68 [diff] |
Merge "Don't animate new bubble when already expanded" into main
diff --git a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java index be9a94d..3c46f32 100644 --- a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java +++ b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java
@@ -388,7 +388,7 @@ 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 {