extract text conversions from composing text and send them for search

Bug: 196294479
Test: manually
Change-Id: Iba9f1097b6ab8ef1339979ca2a0b4e26cd07144c
This commit is contained in:
synch
2021-08-12 14:25:23 +08:00
parent 6434f8eae5
commit 4ca16e1bb1
2 changed files with 26 additions and 3 deletions
@@ -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.
*/