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

Commit 6236fa85 authored by John Spurlock's avatar John Spurlock Committed by The Android Automerger
Browse files

Don't rely on window state when disabling the panel.

Bug:10488453
Change-Id: I09ffbf166dd34489064cf0d73fe7ae4dd356c6c9
parent 6f1d22bc
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() {