Bug 917350 - Enable loading unconditionally in BrowserSearch (r=margaret)
authorLucas Rocha <lucasr@mozilla.com>
Wed, 16 Oct 2013 10:30:40 +0100
changeset 150977 759187c7a9a9
parent 150976 b301518fc843
child 150978 762cd8723f8d
push id25473
push userryanvm@gmail.com
push dateWed, 16 Oct 2013 21:00:56 +0000
treeherdermozilla-central@b0d5cef2c427 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs917350
milestone27.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 917350 - Enable loading unconditionally in BrowserSearch (r=margaret)
mobile/android/base/home/BrowserSearch.java
--- a/mobile/android/base/home/BrowserSearch.java
+++ b/mobile/android/base/home/BrowserSearch.java
@@ -135,17 +135,23 @@ public class BrowserSearch extends HomeF
         public void onSearch(String engineId, String text);
     }
 
     public interface OnEditSuggestionListener {
         public void onEditSuggestion(String suggestion);
     }
 
     public static BrowserSearch newInstance() {
-        return new BrowserSearch();
+        BrowserSearch browserSearch = new BrowserSearch();
+
+        final Bundle args = new Bundle();
+        args.putBoolean(HomePager.CAN_LOAD_ARG, true);
+        browserSearch.setArguments(args);
+
+        return browserSearch;
     }
 
     public BrowserSearch() {
         mSearchTerm = "";
     }
 
     @Override
     public void onAttach(Activity activity) {