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

width

Change-Id: I96f4d6d41fe490845a1e7dd40c9f1a38f01781b7
This commit is contained in:
Adam Powell
2011-08-03 16:45:45 -07:00
parent 5254d5edee
commit dc5facd476

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;