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

Commit a55b1e9b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Collpase expanded bubbles when appropriate"

parents 93d196b3 99108322
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1892,6 +1892,8 @@ public class StatusBar extends SystemUI implements DemoMode,

            mStatusBarWindow.cancelExpandHelper();
            mStatusBarView.collapsePanel(true /* animate */, delayed, speedUpFactor);
        } else {
            mBubbleController.collapseStack();
        }
    }

@@ -2532,6 +2534,9 @@ public class StatusBar extends SystemUI implements DemoMode,
                if (mRemoteInputManager.getController() != null) {
                    mRemoteInputManager.getController().closeRemoteInputs();
                }
                if (mBubbleController.isStackExpanded()) {
                    mBubbleController.collapseStack();
                }
                if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
                    int flags = CommandQueue.FLAG_EXCLUDE_NONE;
                    String reason = intent.getStringExtra("reason");
@@ -2545,6 +2550,9 @@ public class StatusBar extends SystemUI implements DemoMode,
                if (mStatusBarWindowController != null) {
                    mStatusBarWindowController.setNotTouchable(false);
                }
                if (mBubbleController.isStackExpanded()) {
                    mBubbleController.collapseStack();
                }
                finishBarAnimations();
                resetUserExpandedStates();
            }