Moving hotseat predictions to ModelDelegate

Bug: 160748731

Change-Id: I8db7856a17e0b6ca45b4d5ec3513f788f22db11a
This commit is contained in:
Sunny Goyal
2020-08-11 18:49:28 -07:00
parent 532b962a03
commit 0fc3d1275a
28 changed files with 293 additions and 1048 deletions

View File

@@ -103,11 +103,6 @@ public class BgDataModel {
*/
public final IntSparseArrayMap<FixedContainerItems> extraItems = new IntSparseArrayMap<>();
/**
* List of all cached predicted items visible on home screen
*/
public final ArrayList<AppInfo> cachedPredictedItems = new ArrayList<>();
/**
* Maps all launcher activities to counts of their shortcuts.
*/
@@ -472,10 +467,5 @@ public class BgDataModel {
default void bindExtraContainerItems(FixedContainerItems item) { }
void bindAllApplications(AppInfo[] apps, int flags);
/**
* Binds predicted appInfos at at available prediction slots.
*/
void bindPredictedItems(List<AppInfo> appInfos, IntArray ranks);
}
}