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

Commit 297a8423 authored by Eric Berglund's avatar Eric Berglund Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Adding additional null checks for BubbleController." into qt-qpr1-dev

parents 0f57fd15 b7fc7fd4
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -2638,7 +2638,7 @@ public class StatusBar extends SystemUI implements DemoMode,
                if (mRemoteInputManager.getController() != null) {
                    mRemoteInputManager.getController().closeRemoteInputs();
                }
                if (mBubbleController.isStackExpanded()) {
                if (mBubbleController != null && mBubbleController.isStackExpanded()) {
                    mBubbleController.collapseStack();
                }
                if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
@@ -2654,7 +2654,7 @@ public class StatusBar extends SystemUI implements DemoMode,
                if (mStatusBarWindowController != null) {
                    mStatusBarWindowController.setNotTouchable(false);
                }
                if (mBubbleController.isStackExpanded()) {
                if (mBubbleController != null && mBubbleController.isStackExpanded()) {
                    mBubbleController.collapseStack();
                }
                finishBarAnimations();
@@ -3386,8 +3386,10 @@ public class StatusBar extends SystemUI implements DemoMode,
            if (mNotificationPanel.canPanelBeCollapsed()) {
                animateCollapsePanels();
            } else {
                if (mBubbleController != null) {
                    mBubbleController.performBackPressIfNeeded();
                }
            }
            return true;
        }
        if (mKeyguardUserSwitcher != null && mKeyguardUserSwitcher.hideIfNotSimple(true)) {