Bug 1072469 - Part 2: Call super in ActionBarViewFlipper.onAttachedToWindow. r=nalexander
authorMichael Comella <michael.l.comella@gmail.com>
Fri, 03 Oct 2014 18:02:11 -0700
changeset 208749 8e3e47367465bbf5b13ff2c34dd6b11c65cc0daa
parent 208748 ec342eaecda36f8ee5dd5ce7153b4d9dfa7969b4
child 208750 b1718e507da7dfc2610e460ff414c4f5fcc09bbf
push id27593
push usernalexander@mozilla.com
push dateSun, 05 Oct 2014 03:27:38 +0000
treeherdermozilla-central@4b3d816c21fd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1072469
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1072469 - Part 2: Call super in ActionBarViewFlipper.onAttachedToWindow. r=nalexander
mobile/android/base/toolbar/ActionBarViewFlipper.java
--- a/mobile/android/base/toolbar/ActionBarViewFlipper.java
+++ b/mobile/android/base/toolbar/ActionBarViewFlipper.java
@@ -22,15 +22,17 @@ import android.view.ViewGroup;
 public class ActionBarViewFlipper extends GeckoViewFlipper {
 
     public ActionBarViewFlipper(final Context context, final AttributeSet attrs) {
         super(context, attrs);
     }
 
     @Override
     public void onAttachedToWindow() {
+        super.onAttachedToWindow();
+
         if (NewTabletUI.isEnabled(getContext())) {
             final ViewGroup.LayoutParams lp = getLayoutParams();
             lp.height = getResources().getDimensionPixelSize(R.dimen.new_tablet_browser_toolbar_height);
             setLayoutParams(lp);
         }
     }
 }