Fixes the selection for search history

 Bug: 3224800
 The selection in the SuggestionsAdapter was wrong causing previous
 searches to only appear when the entered text exactly matched the
 previous search.

Change-Id: I4fb2c2ede8ee5f8053e582e33a9fe31665364eca
diff --git a/src/com/android/browser/SuggestionsAdapter.java b/src/com/android/browser/SuggestionsAdapter.java
index d3609b2..ff804c1 100644
--- a/src/com/android/browser/SuggestionsAdapter.java
+++ b/src/com/android/browser/SuggestionsAdapter.java
@@ -513,7 +513,7 @@
                 mCursor.close();
             }
             String like = constraint + "%";
-            String[] args = new String[] {constraint.toString()};
+            String[] args = new String[] {like};
             String selection = BrowserContract.Searches.SEARCH + " LIKE ?";
             Uri.Builder ub = BrowserContract.Searches.CONTENT_URI.buildUpon();
             ub.appendQueryParameter(BrowserContract.PARAM_LIMIT,