summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/SuggestionsAdapter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/SuggestionsAdapter.java')
-rw-r--r--src/com/android/browser/SuggestionsAdapter.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/SuggestionsAdapter.java b/src/com/android/browser/SuggestionsAdapter.java
index 242e170..9a099cb 100644
--- a/src/com/android/browser/SuggestionsAdapter.java
+++ b/src/com/android/browser/SuggestionsAdapter.java
@@ -16,6 +16,7 @@
package com.android.browser;
+import com.android.browser.provider.BrowserProvider2;
import com.android.browser.search.SearchEngine;
import android.app.SearchManager;
@@ -472,6 +473,8 @@ public class SuggestionsAdapter extends BaseAdapter implements Filterable,
Uri.Builder ub = BrowserContract.Combined.CONTENT_URI.buildUpon();
ub.appendQueryParameter(BrowserContract.PARAM_LIMIT,
Integer.toString(Math.max(mLinesLandscape, mLinesPortrait)));
+ ub.appendQueryParameter(BrowserProvider2.PARAM_GROUP_BY,
+ BrowserContract.Combined.URL);
mCursor =
mContext.getContentResolver().query(ub.build(), COMBINED_PROJECTION,
selection,