mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Setup make icon-loader library
Bug: 115891474 Test: make -j10 icon-loader Next step: Launcher will depend on icon-loader in next CL Change-Id: I797ddb857cf8be79f3be6ca2f174c593ca3713a5
This commit is contained in:
@@ -96,8 +96,8 @@ public class ShortcutsChangedTask extends BaseModelUpdateTask {
|
||||
// If the shortcut is pinned but no longer has an icon in the system,
|
||||
// keep the current icon instead of reverting to the default icon.
|
||||
LauncherIcons li = LauncherIcons.obtain(context);
|
||||
li.createShortcutIcon(fullDetails, true, Provider.of(shortcutInfo.iconBitmap))
|
||||
.applyTo(shortcutInfo);
|
||||
shortcutInfo.applyFrom(li.createShortcutIcon(fullDetails, true,
|
||||
Provider.of(shortcutInfo.iconBitmap)));
|
||||
li.recycle();
|
||||
updatedShortcutInfos.add(shortcutInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user