Moving all-apps predictions to Launcher model

Predictions are loaded and managed by Launcher model and follow
the model lifecycle. They are then bound to the callback which
handles the UI

Bug: 160748731
Change-Id: I4a3ea0698d80fafe94afb4ce66ffa7f4a6a91c68
This commit is contained in:
Sunny Goyal committed 2020-07-29 13:07:52 -07:00
1 parent 52b1c94b76
commit 8b74cc761b
20 files changed
+424 -805

No files matched your search

@@ -108,13 +108,6 @@ public class BgDataModel {
*/
public final ArrayList<AppInfo> cachedPredictedItems = new ArrayList<>();
/**
* @see Callbacks#FLAG_HAS_SHORTCUT_PERMISSION
* @see Callbacks#FLAG_QUIET_MODE_ENABLED
* @see Callbacks#FLAG_QUIET_MODE_CHANGE_PERMISSION
*/
public int flags;
/**
* Maps all launcher activities to counts of their shortcuts.
*/