diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-10-17 15:01:27 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-10-17 15:02:25 -0700 |
commit | 05f1cdc3e9aca13ea30f77bb750d3be4340e708d (patch) | |
tree | 6cd138de3bcfcc930b31367fee09f09fb3fb105e /policy | |
parent | c047f60db277252f8921b88c82df1a8812afb169 (diff) | |
download | frameworks_base-05f1cdc3e9aca13ea30f77bb750d3be4340e708d.zip frameworks_base-05f1cdc3e9aca13ea30f77bb750d3be4340e708d.tar.gz frameworks_base-05f1cdc3e9aca13ea30f77bb750d3be4340e708d.tar.bz2 |
Fix stupid bug breaking touch on devices without a nav bar.
Change-Id: Id76b7ab5625470fcc72541fb2fe8845cddba523f
Diffstat (limited to 'policy')
-rwxr-xr-x | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 48172fa..8b09e00 100755 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -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 |