Merge "Fix stupid bug breaking touch on devices without a nav bar." into ics-mr0

This commit is contained in:
Dianne Hackborn
2011-10-17 15:26:18 -07:00
committed by Android (Google) Code Review

View File

@@ -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