Bug 911830: Blank about:home on a new profile. [r=margaret]
authorSriram Ramasubramanian <sriram@mozilla.com>
Tue, 03 Sep 2013 14:24:17 -0700
changeset 145757 fd09414385c4bf8f5ae527398a059907b8a2cf3e
parent 145756 47293f729adc72fad87992be50bea0f342cc487d
child 145758 012934880e76d9abdedf818fa3ac6c93268cb196
push id2513
push usersramasubramanian@mozilla.com
push dateThu, 05 Sep 2013 21:12:58 +0000
treeherderfx-team@35b6dd9ef4cf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs911830
milestone26.0a1
Bug 911830: Blank about:home on a new profile. [r=margaret]
mobile/android/base/BrowserApp.java
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -1467,16 +1467,20 @@ abstract public class BrowserApp extends
     }
 
     boolean dismissEditingMode() {
         if (!mBrowserToolbar.isEditing()) {
             return false;
         }
 
         mBrowserToolbar.cancelEdit();
+
+        // Resetting the visibility of HomePager, which might have been hidden
+        // by the filterEditingMode().
+        mHomePager.setVisibility(View.VISIBLE);
         animateHideHomePager();
         hideBrowserSearch();
 
         return true;
     }
 
     void filterEditingMode(String searchTerm, AutocompleteHandler handler) {
         if (TextUtils.isEmpty(searchTerm)) {