Skip to content

Commit 8c190f7

Browse files
Dianne HackbornAndroid Git Automerger
authored andcommitted
am 29cd79c: am c986d6f: Merge "Fix issue #5906017: Missing menu entries in portrait when in compatibility mode" into ics-mr1
* commit '29cd79c7b0fecd2753fc27405794c0d5b5314302': Fix issue #5906017: Missing menu entries in portrait when in compatibility mode
2 parents 6f20380 + 29cd79c commit 8c190f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,6 +2044,12 @@ public void beginLayoutLw(int displayWidth, int displayHeight, int displayRotati
20442044
mTmpNavigationFrame.offset(mNavigationBarWidth, 0);
20452045
}
20462046
}
2047+
// Make sure the content and current rectangles are updated to
2048+
// account for the restrictions from the navigation bar.
2049+
mContentTop = mCurTop = mDockTop;
2050+
mContentBottom = mCurBottom = mDockBottom;
2051+
mContentLeft = mCurLeft = mDockLeft;
2052+
mContentRight = mCurRight = mDockRight;
20472053
// And compute the final frame.
20482054
mNavigationBar.computeFrameLw(mTmpNavigationFrame, mTmpNavigationFrame,
20492055
mTmpNavigationFrame, mTmpNavigationFrame);

0 commit comments

Comments
 (0)