Bug 917350 - Enable loading unconditionally in BrowserSearch (r=margaret)
authorLucas Rocha <lucasr@mozilla.com>
Wed, 16 Oct 2013 10:30:40 +0100
changeset 150888 759187c7a9a9
parent 150887 b301518fc843
child 150936 762cd8723f8d
push id3065
push userlrocha@mozilla.com
push dateWed, 16 Oct 2013 09:30:50 +0000
treeherderfx-team@759187c7a9a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs917350
milestone27.0a1
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) {