Cleanup raw usage of AllAppsStore.
Test: Compiles Bug: 287523421 Flag: No Change-Id: I35cdb1b281f251b74305129b583f29cdb29e15a6
This commit is contained in:
1 parent
19c22c20b2
commit
e9eacb38fa
5 files changed
+11
-9
No files matched your search
@@ -69,7 +69,7 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> implement
|
||||
// The set of apps from the system
|
||||
private final List<AppInfo> mApps = new ArrayList<>();
|
||||
@Nullable
|
||||
private final AllAppsStore mAllAppsStore;
|
||||
private final AllAppsStore<T> mAllAppsStore;
|
||||
|
||||
// The number of results in current adapter
|
||||
private int mAccessibilityResultsCount = 0;
|
||||
@@ -86,7 +86,7 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> implement
|
||||
private int mNumAppRowsInAdapter;
|
||||
private Predicate<ItemInfo> mItemFilter;
|
||||
|
||||
public AlphabeticalAppsList(Context context, @Nullable AllAppsStore appsStore,
|
||||
public AlphabeticalAppsList(Context context, @Nullable AllAppsStore<T> appsStore,
|
||||
WorkProfileManager workProfileManager) {
|
||||
mAllAppsStore = appsStore;
|
||||
mActivityContext = ActivityContext.lookupContext(context);
|
||||
|
||||
Reference in new issue
Block a user