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

Commit 686820a4 authored by John Spurlock's avatar John Spurlock
Browse files

Don't ever disable the status/nav bar.

Revert part of the fix for b/8682123 until we figure out why
the window state does not flip to SHOWING in BarController.

Bug:10488453
Change-Id: Ic5d60a6d945b470fd519dc01de30690e61c62e01
parent 96661c42
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1741,7 +1741,9 @@ public class PhoneStatusBar extends BaseStatusBar {
            mGestureRec.add(event);
        }

        if (mStatusBarWindowState == WINDOW_STATE_SHOWING) {
            setInteracting(true);
        }
        return false;
    }

@@ -1769,7 +1771,6 @@ public class PhoneStatusBar extends BaseStatusBar {
                && mStatusBarWindowState != state) {
            mStatusBarWindowState = state;
            if (DEBUG_WINDOW_STATE) Log.d(TAG, "Status bar " + windowStateToString(state));
            mStatusBarWindow.setEnabled(showing);
            if (!showing) {
                mStatusBarView.collapseAllPanels(false);
            }
@@ -1779,7 +1780,6 @@ public class PhoneStatusBar extends BaseStatusBar {
                && mNavigationBarWindowState != state) {
            mNavigationBarWindowState = state;
            if (DEBUG_WINDOW_STATE) Log.d(TAG, "Navigation bar " + windowStateToString(state));
            mNavigationBarView.setEnabled(showing);
        }
    }