Handle AppSearch in plugin

+ Use AppSearchPipeline as a fallback if plugin times out

Bug: 166058597
Test: Manual
Change-Id: I96a38e412fd08f47475d2bc37bff34b86538ea12
This commit is contained in:
Samuel Fufa
2020-08-23 21:56:07 -07:00
parent a2d6a91be9
commit d6bacdcaf0
6 changed files with 32 additions and 85 deletions
@@ -33,7 +33,7 @@ public class DefaultAppSearchAlgorithm implements SearchAlgorithm {
public DefaultAppSearchAlgorithm(Context context, LauncherAppState launcherAppState) {
mResultHandler = new Handler();
mAppsSearchPipeline = new AppsSearchPipeline(context, launcherAppState, false);
mAppsSearchPipeline = new AppsSearchPipeline(context, launcherAppState);
}
@Override