diff --git a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleStashController.java b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleStashController.java index c995b4c26e..bd660be49d 100644 --- a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleStashController.java +++ b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleStashController.java @@ -125,6 +125,12 @@ public class BubbleStashController { public void setBubblesShowingOnHome(boolean onHome) { if (mBubblesShowingOnHome != onHome) { mBubblesShowingOnHome = onHome; + + if (!mBarViewController.isBubbleBarVisible()) { + // if the bubble bar is not visible, there are no bubbles, so just return. + return; + } + if (mBubblesShowingOnHome) { showBubbleBar(/* expanded= */ false); // When transitioning from app to home the stash animator may already have been