Migrate from Plugin SearchTarget to API search Target [3/3]

- Implement SearchServicePipeline which utilizes system Search services for AllAppsSearch Results
- Parse android.app.search.SearchTarget handling for Shortcut, Slice, Settings and Play results
- Aggregate SearchTargets to a tree structure for in-line Search Results

Bug: 177223401
Test: Manual
Change-Id: Iddc0f3691578fd332cd2df643a237b29f3eccd0d
This commit is contained in:
Samuel Fufa
2021-01-13 11:05:12 -06:00
parent 7cb41c3584
commit bdf4f71299
13 changed files with 309 additions and 100 deletions
@@ -58,6 +58,11 @@ public interface SearchUiManager {
void setContentVisibility(int visibleElements, PropertySetter setter,
Interpolator interpolator);
/**
* Called when activity is destroyed. Used to close search system services
*/
default void destroy(){}
/**
* Returns true if the QSB should be visible for the given set of visible elements
*/