mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Bug 972327 - Inflate actionmode items on startup for tablets. r=mfinkle
This commit is contained in:
parent
af145741c8
commit
36139c6bf2
@ -890,6 +890,12 @@ abstract public class BrowserApp extends GeckoApp
|
||||
|
||||
// Intercept key events for gamepad shortcuts
|
||||
mLayerView.setOnKeyListener(this);
|
||||
|
||||
// Initialize the actionbar menu items on startup for both large and small tablets
|
||||
if (HardwareUtils.isTablet()) {
|
||||
onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, null);
|
||||
invalidateOptionsMenu();
|
||||
}
|
||||
}
|
||||
|
||||
private void shareCurrentUrl() {
|
||||
|
Loading…
Reference in New Issue
Block a user