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

Commit 0d6c71cc authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Revert "Don't collapse the panel post launch if we went back to sleep."

This reverts commit 5ac67f9a.

Reason for revert: Found a better fix

Change-Id: Ic6030fac876fc2b28931971f25ed63198697b52d
parent 5ac67f9a
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -1870,13 +1870,7 @@ public class CentralSurfaces extends CoreStartable implements
        if (!mPresenter.isCollapsing()) {
            onClosingFinished();
        }

        // Collapse the panel if we're launching in fullscreen, over the lockscreen. Do not do this
        // if the device has gone back to sleep - through a horrific chain of 15 or so function
        // calls, instantCollapseNotificationPanel will eventually call through to
        // StatusBar#wakeUpIfDozing, which will wake the device up even if it was put to sleep
        // during the launch animation.
        if (launchIsFullScreen && mPowerManager.isInteractive()) {
        if (launchIsFullScreen) {
            instantCollapseNotificationPanel();
        }
    }