Bug 913890 - Remove dead action bar code, formerly associated with the Awesome Bar. r=mleibovic
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -956,23 +956,16 @@ abstract public class BrowserApp extends
invalidateOptionsMenu();
updateSideBarState();
mTabsPanel.refresh();
if (mSiteIdentityPopup != null) {
mSiteIdentityPopup.dismiss();
}
}
- public View getActionBarLayout() {
- RelativeLayout actionBar = (RelativeLayout) LayoutInflater.from(this).inflate(R.layout.browser_toolbar, null);
- actionBar.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT,
- (int) getResources().getDimension(R.dimen.browser_toolbar_height)));
- return actionBar;
- }
-
@Override
public boolean hasTabsSideBar() {
return (mTabsPanel != null && mTabsPanel.isSideBar());
}
private void updateSideBarState() {
if (mMainLayoutAnimator != null)
mMainLayoutAnimator.stop();