Merge "Fix stupid bug breaking touch on devices without a nav bar." into ics-mr0
This commit is contained in:
committed by
Android (Google) Code Review
commit
5d199737cb
@@ -1834,7 +1834,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
pf.right = df.right = vf.right = mDockRight;
|
pf.right = df.right = vf.right = mDockRight;
|
||||||
pf.bottom = df.bottom = vf.bottom = mDockBottom;
|
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;
|
(mLastSystemUiFlags&View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0;
|
||||||
|
|
||||||
// When the navigation bar isn't visible, we put up a fake
|
// When the navigation bar isn't visible, we put up a fake
|
||||||
|
|||||||
Reference in New Issue
Block a user