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

Commit 79897c0d authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am 79ec2a15: Don\'t rely on window state when disabling the panel.

* commit '79ec2a15':
  Don't rely on window state when disabling the panel.
parents 7d17de35 79ec2a15
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1349,8 +1349,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode {
    };

    boolean panelsEnabled() {
        return ((mDisabled & StatusBarManager.DISABLE_EXPAND) == 0
                && mStatusBarWindowState != StatusBarManager.WINDOW_STATE_HIDING);
        return (mDisabled & StatusBarManager.DISABLE_EXPAND) == 0;
    }

    void makeExpandedVisible() {