diff --git a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java index afbc932af2..026f239152 100644 --- a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java +++ b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java @@ -588,7 +588,7 @@ public class BubbleBarViewController { /** Returns maximum height of the bubble bar with the flyout view. */ public int getBubbleBarWithFlyoutMaximumHeight() { - if (!isBubbleBarVisible() && !isAnimatingNewBubble()) return 0; + if (!hasBubbles() && !isAnimatingNewBubble()) return 0; int bubbleBarTopOnHome = (int) (mBubbleStashController.getBubbleBarVerticalCenterForHome() + mBarView.getBubbleBarCollapsedHeight() / 2 + mBarView.getArrowHeight()); if (isAnimatingNewBubble()) {