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

Commit 4071ddb4 authored by Joel Galenson's avatar Joel Galenson Committed by Mady Mellor
Browse files

Fix crash.

Fix a SysUI NullPointerException.

Bug: 130821357
Test: atest BubbleControllerTest KeyButtonViewTest
Change-Id: I56923480bd2c3441cd9328e52b4b5bd35d676dc2
parent 6c4094c6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -542,6 +542,9 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
     * status bar, otherwise returns {@link Display#INVALID_DISPLAY}.
     */
    public int getExpandedDisplayId(Context context) {
        if (mStackView == null) {
            return INVALID_DISPLAY;
        }
        boolean defaultDisplay = context.getDisplay() != null
                && context.getDisplay().getDisplayId() == DEFAULT_DISPLAY;
        Bubble b = mStackView.getExpandedBubble();