From 0a3deee6974f2d9fec1371ed6fdd46dc5b2a75f6 Mon Sep 17 00:00:00 2001 From: Adam Powell Date: Thu, 14 Jul 2011 18:50:02 -0700 Subject: Fix regression with legacy expanded menus Change-Id: I28a21dc72d11c6729370e0acd90b06ed98baf098 --- policy/src/com/android/internal/policy/impl/PhoneWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'policy') 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(); } } -- cgit v1.1