Bug 917350 - Enable loading unconditionally in BrowserSearch. r=margaret, a=lsblakk
authorLucas Rocha <lucasr@mozilla.com>
Wed, 16 Oct 2013 10:30:40 +0100
changeset 155852 225a25c01d09
parent 155851 d0abcb6e1fff
child 155853 d26ba3e1683b
push id4442
push userryanvm@gmail.com
push dateFri, 18 Oct 2013 21:58:35 +0000
treeherdermozilla-aurora@46a4d9b8aacd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, lsblakk
bugs917350
milestone26.0a2
Bug 917350 - Enable loading unconditionally in BrowserSearch. r=margaret, a=lsblakk
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) {