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

Commit 05f1cdc3 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix stupid bug breaking touch on devices without a nav bar.

Change-Id: Id76b7ab5625470fcc72541fb2fe8845cddba523f
parent c047f60d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1834,7 +1834,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        pf.right = df.right = vf.right = mDockRight;
        pf.bottom = df.bottom = vf.bottom = mDockBottom;

        final boolean navVisible = mNavigationBar != null && mNavigationBar.isVisibleLw() &&
        final boolean navVisible = (mNavigationBar == null || mNavigationBar.isVisibleLw()) &&
                (mLastSystemUiFlags&View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0;

        // When the navigation bar isn't visible, we put up a fake