diff options
author | Adam Powell <adamp@google.com> | 2011-07-14 18:50:02 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2011-07-14 18:50:02 -0700 |
commit | 0a3deee6974f2d9fec1371ed6fdd46dc5b2a75f6 (patch) | |
tree | 9def1c4b684fe224f98f94e72d9709af7c978987 /policy | |
parent | 50a3e420945583574913fb79c17dfebcd4911102 (diff) | |
download | frameworks_base-0a3deee6974f2d9fec1371ed6fdd46dc5b2a75f6.zip frameworks_base-0a3deee6974f2d9fec1371ed6fdd46dc5b2a75f6.tar.gz frameworks_base-0a3deee6974f2d9fec1371ed6fdd46dc5b2a75f6.tar.bz2 |
Fix regression with legacy expanded menus
Change-Id: I28a21dc72d11c6729370e0acd90b06ed98baf098
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index dff0556..4be00c5 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -2240,7 +2240,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { } PanelFeatureState st = getPanelState(FEATURE_OPTIONS_PANEL, false); - if (st != null && st.menu != null) { + if (st != null && st.menu != null && mFeatureId < 0) { st.menu.close(); } } |