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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user