Bug 1134192 - Prevent the options menu from opening in fullscreen mode. r=mfinkle
This commit is contained in:
@@ -72,6 +72,7 @@ import org.mozilla.gecko.toolbar.AutocompleteHandler;
|
||||
import org.mozilla.gecko.toolbar.BrowserToolbar;
|
||||
import org.mozilla.gecko.toolbar.BrowserToolbar.TabEditingState;
|
||||
import org.mozilla.gecko.toolbar.ToolbarProgressView;
|
||||
import org.mozilla.gecko.util.ActivityUtils;
|
||||
import org.mozilla.gecko.util.Clipboard;
|
||||
import org.mozilla.gecko.util.EventCallback;
|
||||
import org.mozilla.gecko.util.GamepadUtils;
|
||||
@@ -2885,6 +2886,10 @@ public class BrowserApp extends GeckoApp
|
||||
return;
|
||||
}
|
||||
|
||||
if (ActivityUtils.isFullScreen(this)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (areTabsShown()) {
|
||||
mTabsPanel.showMenu();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user