Add a WidgetsSearchBar(Launcher3) and a WidgetsSearchController.
- Make WidgetsSearchBar in Launcher3 initialize WidgetsSearchController with SimpleWidgetsSearchPipeline - Modify SimpleWidgetsSearchPipeline to filter widgets entries on widgets/shortcut labels also. Test: Tested prototype locally. Also added robolectric test. Bug: b/157286785 Change-Id: I65f5fa0240ffb6d22023167e4e86d94d83bbd9f7
This commit is contained in:
1 parent
334e65935b
commit
d07acba048
18 files changed
+732
-347
No files matched your search
@@ -31,4 +31,9 @@ public interface SearchAlgorithm<T> {
|
||||
* Cancels any active request.
|
||||
*/
|
||||
void cancel(boolean interruptActiveRequests);
|
||||
|
||||
/**
|
||||
* Cleans up after search is no longer needed.
|
||||
*/
|
||||
default void destroy() {};
|
||||
}
|
||||
Reference in new issue
Block a user