Removed option to refine suggestions in edit field

This commit is contained in:
David A. Velasco 2015-10-20 13:19:23 +02:00
parent dea69d5fd7
commit 043d2128ad

View file

@ -54,7 +54,6 @@ public class UsersAndGroupsSearchProvider extends ContentProvider {
private static final String[] COLUMNS = { private static final String[] COLUMNS = {
BaseColumns._ID, BaseColumns._ID,
SearchManager.SUGGEST_COLUMN_TEXT_1, SearchManager.SUGGEST_COLUMN_TEXT_1,
SearchManager.SUGGEST_COLUMN_FLAGS,
SearchManager.SUGGEST_COLUMN_INTENT_DATA SearchManager.SUGGEST_COLUMN_INTENT_DATA
}; };
@ -159,7 +158,6 @@ public class UsersAndGroupsSearchProvider extends ContentProvider {
response.newRow() response.newRow()
.add(count++) // BaseColumns._ID .add(count++) // BaseColumns._ID
.add(displayName) // SearchManager.SUGGEST_COLUMN_TEXT_1 .add(displayName) // SearchManager.SUGGEST_COLUMN_TEXT_1
.add(SearchManager.FLAG_QUERY_REFINEMENT)
.add(dataUri); .add(dataUri);
} }
} }