Fixing shortcut icons are not getting correct color extraction.
> Avoiding color extraction for icons which have already be evaluated > Fixing color extraction from hardware bitmaps Bug: 111343544 Change-Id: I624866e892465684871fbc130003e32945d86460
This commit is contained in:
1 parent
6478d4f41b
commit
b891eebbb5
6 files changed
+29
-18
No files matched your search
@@ -95,7 +95,7 @@ public class UserLockStateChangedTask 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);
|
||||
si.applyFrom(li.createShortcutIcon(shortcut, true, Provider.of(si.iconBitmap)));
|
||||
si.applyFrom(li.createShortcutIcon(shortcut, true, Provider.of(si)));
|
||||
li.recycle();
|
||||
} else {
|
||||
si.runtimeStatusFlags |= FLAG_DISABLED_LOCKED_USER;
|
||||
|
||||
Reference in new issue
Block a user