extract text conversions from composing text and send them for search

Bug: 196294479
Test: manually
Change-Id: Iba9f1097b6ab8ef1339979ca2a0b4e26cd07144c
This commit is contained in:
synch committed 2021-09-16 09:55:59 +08:00
1 parent 6434f8eae5
commit 4ca16e1bb1
2 files changed
+26 -3

No files matched your search

@@ -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.
*/