am c986d6f0
: Merge "Fix issue #5906017: Missing menu entries in portrait when in compatibility mode" into ics-mr1
* commit 'c986d6f01b00dd760ba1650918baadd24a6dc838': Fix issue #5906017: Missing menu entries in portrait when in compatibility mode
This commit is contained in:
@ -1977,6 +1977,12 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
mTmpNavigationFrame.offset(mNavigationBarWidth, 0);
|
mTmpNavigationFrame.offset(mNavigationBarWidth, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Make sure the content and current rectangles are updated to
|
||||||
|
// account for the restrictions from the navigation bar.
|
||||||
|
mContentTop = mCurTop = mDockTop;
|
||||||
|
mContentBottom = mCurBottom = mDockBottom;
|
||||||
|
mContentLeft = mCurLeft = mDockLeft;
|
||||||
|
mContentRight = mCurRight = mDockRight;
|
||||||
// And compute the final frame.
|
// And compute the final frame.
|
||||||
mNavigationBar.computeFrameLw(mTmpNavigationFrame, mTmpNavigationFrame,
|
mNavigationBar.computeFrameLw(mTmpNavigationFrame, mTmpNavigationFrame,
|
||||||
mTmpNavigationFrame, mTmpNavigationFrame);
|
mTmpNavigationFrame, mTmpNavigationFrame);
|
||||||
|
Reference in New Issue
Block a user