mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
Bug 968182 - Hide the Android menu before reshowing it with a submenu. r=lucasr
This commit is contained in:
parent
699c0a5afb
commit
e4b83e36cc
@ -370,9 +370,9 @@ public abstract class GeckoApp
|
||||
|
||||
@Override
|
||||
public void showMenu(View menu) {
|
||||
// Hide the menu only if we are showing the MenuPopup.
|
||||
if (!HardwareUtils.hasMenuButton())
|
||||
closeMenu();
|
||||
// Hide the menu before we reshow it to avoid platform specific bugs like
|
||||
// bug 794581 and bug 968182.
|
||||
closeMenu();
|
||||
|
||||
mMenuPanel.removeAllViews();
|
||||
mMenuPanel.addView(menu);
|
||||
|
Loading…
x
Reference in New Issue
Block a user