Bug 896750: NSME on SearchLoader. [r=margaret]
authorSriram Ramasubramanian <sriram@mozilla.com>
Mon, 22 Jul 2013 15:40:54 -0700
changeset 143430 c1d0f41d781c5f7794d98c3b706d078aaf581ed5
parent 143429 18b8d700be7f873c48f71fdf8d2ffd38bf2eba9c
child 143431 8a8517e6b5061a351c45f34c7021fb32e3b9a433
push id25130
push userlrocha@mozilla.com
push dateWed, 21 Aug 2013 09:41:27 +0000
treeherdermozilla-central@b2486721572e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs896750
milestone25.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 896750: NSME on SearchLoader. [r=margaret]
mobile/android/base/home/SearchLoader.java
--- a/mobile/android/base/home/SearchLoader.java
+++ b/mobile/android/base/home/SearchLoader.java
@@ -25,17 +25,17 @@ class SearchLoader {
     // Key for performing empty search
     private static final String KEY_PERFORM_EMPTY_SEARCH = "perform_empty_search";
 
     private SearchLoader() {
     }
 
     public static Loader<Cursor> createInstance(Context context, Bundle args) {
         if (args != null) {
-            final String searchTerm = args.getString(KEY_SEARCH_TERM, "");
+            final String searchTerm = args.getString(KEY_SEARCH_TERM);
             final boolean performEmptySearch = args.getBoolean(KEY_PERFORM_EMPTY_SEARCH, false);
             return new SearchCursorLoader(context, searchTerm, performEmptySearch);
         } else {
             return new SearchCursorLoader(context, "", false);
         }
     }
 
     public static void restart(LoaderManager manager, int loaderId,