Add entry and cursor location in GetSuggestionRequest

Bug: 223728521
Test: manual
Change-Id: I838896e2fad2d37c22e665473d59cc1b2c9a14d7
This commit is contained in:
Hyunyoung Song
2022-03-08 16:38:46 -08:00
parent e2b514178d
commit e395453bd9
7 changed files with 14 additions and 10 deletions
@@ -58,7 +58,7 @@ public class DefaultAppSearchAlgorithm implements SearchAlgorithm<AdapterItem> {
}
@Override
public void doSearch(String query, SearchCallback<AdapterItem> callback) {
public void doSearch(String query, int cursorLocation, SearchCallback<AdapterItem> callback) {
mAppState.getModel().enqueueModelUpdateTask(new BaseModelUpdateTask() {
@Override
public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) {