Merge "Long press on menu no longer opens the IME."

This commit is contained in:
Joe Onorato
2010-11-01 12:28:19 -07:00
committed by Android (Google) Code Review

View File

@@ -627,13 +627,6 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
// should be executed... do it!
mPanelChordingKey = 0;
mPanelMayLongPress = false;
InputMethodManager imm = (InputMethodManager)
getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
if (imm != null) {
mDecor.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
}
}
return false;