diff --git a/mobile/android/base/BrowserToolbar.java b/mobile/android/base/BrowserToolbar.java index d09a3269556..d232e2b0776 100644 --- a/mobile/android/base/BrowserToolbar.java +++ b/mobile/android/base/BrowserToolbar.java @@ -416,11 +416,6 @@ public class BrowserToolbar implements Tabs.OnTabsChangedListener, }); } - if (Build.VERSION.SDK_INT >= 11) { - // Create the panel and inflate the custom menu. - mActivity.onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, null); - } - mFocusOrder = Arrays.asList(mBack, mForward, mLayout, mReader, mSiteSecurity, mStop, mTabs); } diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index 4058994bbf2..375e70bc60d 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -1345,6 +1345,10 @@ abstract public class GeckoApp private void initialize() { mInitialized = true; + if (Build.VERSION.SDK_INT >= 11) { + // Create the panel and inflate the custom menu. + onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, null); + } invalidateOptionsMenu(); Intent intent = getIntent();