Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
index 335ce04cc993e2106fbdbda5fbff2f2b71977d73..ca5d03a17df20fa046a124eabfe15746b37c3613 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
@@ -281,6 +281,7 @@ public class ChromeShellActivity extends Activity implements AppMenuPropertiesDe |
@Override |
public boolean onKeyDown(int keyCode, KeyEvent event) { |
if (keyCode == KeyEvent.KEYCODE_MENU && event.getRepeatCount() == 0) { |
+ if (mToolbar != null) mToolbar.hideSuggestions(); |
Bernhard Bauer
2014/09/10 13:36:55
If this is the desired behavior (see bug), could w
|
mAppMenuHandler.showAppMenu(findViewById(R.id.menu_button), true, false); |
return true; |
} |