Backed out changeset c521a1683852 (bug 942231) for Android Bustage on a CLOSED TREE
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 12 Dec 2013 12:44:32 +0100
changeset 160178 d45260cc54a9f4de4ea24b398f624fcc2075d1ca
parent 160177 d6798ed0b4eabc2f6adc7e8e5a31c5ad2d124aaf
child 160179 8e0471f284ee801502f8ab7cbd431d3684dcfee6
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
bugs942231
milestone29.0a1
backs outc521a1683852a308dadfba1c41407b0b5c2872a7
Backed out changeset c521a1683852 (bug 942231) for Android Bustage on a CLOSED TREE
mobile/android/base/BrowserApp.java
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -1613,34 +1613,34 @@ abstract public class BrowserApp extends
                 // Show the toolbar.
                 mLayerView.getLayerMarginsAnimator().showMargins(false);
             }
         } else {
             hideHomePager();
         }
     }
 
+    private void showHomePager(HomePager.Page page) {
+        showHomePagerWithAnimator(page, null);
+    }
+
     @Override
     public void onLocaleReady(final String locale) {
         super.onLocaleReady(locale);
         if (mHomePager != null) {
             // Blow it away and rebuild it with the right strings.
             mHomePager.redisplay(getSupportFragmentManager());
         }
 
         if (mMenu != null) {
             mMenu.clear();
             onCreateOptionsMenu(mMenu);
         }
     }
 
-    private void showHomePager(HomePager.Page page) {
-        showHomePagerWithAnimator(page, null);
-    }
-
     private void showHomePagerWithAnimator(HomePager.Page page, PropertyAnimator animator) {
         if (isHomePagerVisible()) {
             return;
         }
 
         // Refresh toolbar height to possibly restore the toolbar padding
         refreshToolbarHeight();