summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-07-14 18:50:02 -0700
committerAdam Powell <adamp@google.com>2011-07-14 18:50:02 -0700
commit0a3deee6974f2d9fec1371ed6fdd46dc5b2a75f6 (patch)
tree9def1c4b684fe224f98f94e72d9709af7c978987 /policy
parent50a3e420945583574913fb79c17dfebcd4911102 (diff)
downloadframeworks_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.java2
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();
}
}