Merge "Fix bug 5044737 - Compatibility menus should be as wide as the screen width"

This commit is contained in:
Adam Powell
2011-08-03 16:57:07 -07:00
committed by Android (Google) Code Review

View File

@@ -552,6 +552,8 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
if (!st.shownPanelView.hasFocus()) {
st.shownPanelView.requestFocus();
}
} else if (!st.isInExpandedMode) {
width = MATCH_PARENT;
}
st.isOpen = true;