fixes more error

This commit is contained in:
MrSluffy
2024-11-01 10:19:35 +08:00
parent 67f1da2742
commit 2e4a2330d3
25 changed files with 264 additions and 282 deletions

View File

@@ -286,11 +286,11 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
mMainAdapterProvider = mSearchUiDelegate.createMainAdapterProvider();
mAH.set(AdapterHolder.MAIN, new AdapterHolder(AdapterHolder.MAIN,
new LawnchairAlphabeticalAppsList<>(mActivityContext, mAllAppsStore, null)));
new LawnchairAlphabeticalAppsList<>(mActivityContext, mAllAppsStore, null, mPrivateProfileManager)));
mAH.set(AdapterHolder.WORK, new AdapterHolder(AdapterHolder.WORK,
new LawnchairAlphabeticalAppsList<>(mActivityContext, mAllAppsStore, mWorkManager)));
new LawnchairAlphabeticalAppsList<>(mActivityContext, mAllAppsStore, mWorkManager, mPrivateProfileManager)));
mAH.set(SEARCH, new AdapterHolder(SEARCH,
new LawnchairAlphabeticalAppsList<>(mActivityContext, mAllAppsStore, null)));
new LawnchairAlphabeticalAppsList<>(mActivityContext, mAllAppsStore, null, mPrivateProfileManager)));
getLayoutInflater().inflate(R.layout.all_apps_content, this);
mHeader = findViewById(R.id.all_apps_header);