Fix omnibox ordering
Bug: 5155207
The group by to prevent dupes screwed up the ordering. Allow
dupes for now so that ordering is correct (duples will only
appear if you actually have duplicate bookmarks)
Change-Id: Ibde0ea715ae2702a16e918843efbc997bb51d5df
diff --git a/src/com/android/browser/SuggestionsAdapter.java b/src/com/android/browser/SuggestionsAdapter.java
index e1511b9..ca3754c 100644
--- a/src/com/android/browser/SuggestionsAdapter.java
+++ b/src/com/android/browser/SuggestionsAdapter.java
@@ -479,8 +479,6 @@
Uri.Builder ub = OmniboxSuggestions.CONTENT_URI.buildUpon();
ub.appendQueryParameter(BrowserContract.PARAM_LIMIT,
Integer.toString(Math.max(mLinesLandscape, mLinesPortrait)));
- ub.appendQueryParameter(BrowserProvider2.PARAM_GROUP_BY,
- OmniboxSuggestions.URL);
mCursor =
mContext.getContentResolver().query(ub.build(), COMBINED_PROJECTION,
selection, (constraint != null) ? args : null, null);