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

Commit d99d5dd2 authored by Josh Tsuji's avatar Josh Tsuji Committed by Automerger Merge Worker
Browse files

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

Merge "Revert "Don't collapse the panel post launch if we went back to sleep."" into tm-dev am: b26cf498

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17197687

Change-Id: I473c217f03a20c3a190635b2c7fd8ac489c33652
parents e0124ae0 b26cf498
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -1877,13 +1877,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();
        }
    }