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

Commit 0b1b2e1c authored by Ats Jenk's avatar Ats Jenk
Browse files

Log when launcher expands bubble that does not exist

Add a log so we don't silently fail when launcher requests to expand a
bubble, but it is not found.

Bug: 416550461
Flag: EXEMPT, adding a log
Test: build and check with a debugger
Change-Id: I82475b95e0574af483cbc97482c6db0f9e6b5184
parent 77d7df1c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1611,6 +1611,7 @@ public class BubbleController implements ConfigurationChangeListener,

        final Bubble b = mBubbleData.getAnyBubbleWithKey(key);
        if (b == null) {
            Log.w(TAG, "launcher attempting to expand a non-existent bubble: " + key);
            return;
        }
        final boolean wasExpanded = (mLayerView != null && mLayerView.isExpanded());