Use shared method for updating the runtime status flags for an item info

- The method AppInfo#updateRuntimeFlagsForActivityTarget should also
  both add and remove runtime flags to match the current state

Bug: 323112914
Test: atest NexusLauncherTests
Change-Id: If87acf1e2324f98cf1d96d194eac13a93fa432c1
This commit is contained in:
Winson Chung committed 2024-04-14 06:19:49 +00:00
1 parent 8fc5e593c3
commit 21cf4439d2
5 files changed
+42 -23

No files matched your search

@@ -443,7 +443,7 @@ public class LoaderTask implements Runnable {
List<IconRequestInfo<WorkspaceItemInfo>> iconRequestInfos = new ArrayList<>();
WorkspaceItemProcessor itemProcessor = new WorkspaceItemProcessor(c, memoryLogger,
mUserManagerState, mLauncherApps, mPendingPackages,
mUserCache, mUserManagerState, mLauncherApps, mPendingPackages,
mShortcutKeyToPinnedShortcuts, mApp, mBgDataModel,
mWidgetProvidersMap, installingPkgs, isSdCardReady,
widgetInflater, pmHelper, iconRequestInfos, unlockedUsers,