mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Using persisted item storage for install queue.
Shared prefs are loaded during startup and should avoid large objects Change-Id: Ibb5c8307dbccb9414b42454825e6c3c2a972efa6
This commit is contained in:
@@ -297,8 +297,7 @@ public class BgDataModel {
|
||||
.filter(wi -> wi.itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT)
|
||||
.map(ShortcutKey::fromItemInfo),
|
||||
// Pending shortcuts
|
||||
ItemInstallQueue.INSTANCE.get(context).getPendingShortcuts()
|
||||
.stream().filter(si -> si.user.equals(user)))
|
||||
ItemInstallQueue.INSTANCE.get(context).getPendingShortcuts(user))
|
||||
.collect(groupingBy(ShortcutKey::getPackageName,
|
||||
mapping(ShortcutKey::getId, Collectors.toSet())));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user