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

* commit '5d199737cb22733b065453ee95dfd9c9e5e87d5b':
  Fix stupid bug breaking touch on devices without a nav bar.
This commit is contained in:
Dianne Hackborn
2011-10-17 15:28:07 -07:00
committed by Android Git Automerger

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