Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d1c6e55 authored by Mady Mellor's avatar Mady Mellor Committed by Android (Google) Code Review
Browse files

Merge "Only return that bubbles are on home if we actually have bubbles" into main

parents cc6d5007 6d09b0cd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -184,7 +184,8 @@ public class BubbleStashController {

    /** Whether bubbles are showing on the launcher home page. */
    public boolean isBubblesShowingOnHome() {
        return mBubblesShowingOnHome;
        boolean hasBubbles = mBarViewController != null && mBarViewController.hasBubbles();
        return mBubblesShowingOnHome && hasBubbles;
    }

    // TODO: when tapping on an app in overview, this is a bit delayed compared to taskbar stashing