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 145896 fd09414385c4bf8f5ae527398a059907b8a2cf3e
parent 145895 47293f729adc72fad87992be50bea0f342cc487d
child 145897 012934880e76d9abdedf818fa3ac6c93268cb196
push id25227
push useremorley@mozilla.com
push dateFri, 06 Sep 2013 15:19:58 +0000
treeherdermozilla-central@b818c7222968 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs911830
milestone26.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 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)) {