extract text conversions from composing text and send them for search
Bug: 196294479 Test: manually Change-Id: Iba9f1097b6ab8ef1339979ca2a0b4e26cd07144c
This commit is contained in:
@@ -27,6 +27,13 @@ public interface SearchAlgorithm<T> {
|
||||
*/
|
||||
void doSearch(String query, SearchCallback<T> callback);
|
||||
|
||||
/**
|
||||
* Performs search with {@code query} and the {@code suggestedQueries}/
|
||||
*/
|
||||
default void doSearch(String query, String[] suggestedQueries, SearchCallback<T> callback) {
|
||||
doSearch(query, callback);
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancels any active request.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user