Revert "Add entry and cursor location in GetSuggestionRequest"

Revert submission 17128079-suggestionentry

Reason for revert: test monitor determined it broke tests: b/223859070
Reverted Changes:
I838896e2f:Add entry and cursor location in GetSuggestionRequ...
Ic9f5dd35b:Add cursorLocation and entry to GetSuggestRequest

Change-Id: I8a15f61c5ddb37b26d3e06de25f0d5b5b5c89abc
This commit is contained in:
Sam Gilbert committed 2022-03-10 19:48:31 +00:00
1 parent e395453bd9
commit 355bd482c8
7 files changed
+10 -14

No files matched your search

@@ -25,14 +25,13 @@ public interface SearchAlgorithm<T> {
/**
* Performs search and sends the result to {@link SearchCallback}.
*/
void doSearch(String query, int cursorLocation, SearchCallback<T> callback);
void doSearch(String query, SearchCallback<T> callback);
/**
* Performs search with {@code query} and the {@code suggestedQueries}/
*/
default void doSearch(String query, int cursorLocation, String[] suggestedQueries,
SearchCallback<T> callback) {
doSearch(query, cursorLocation, callback);
default void doSearch(String query, String[] suggestedQueries, SearchCallback<T> callback) {
doSearch(query, callback);
}
/**