am b0d868f7: Merge "Preventing zoom-in animation from running everytime the app updates." into ub-launcher3-burnaby
* commit 'b0d868f73037e0f732fa71d4bf557d4fcb1ed36c': Preventing zoom-in animation from running everytime the app updates.
This commit is contained in:
commit
3759d1bc59
2 files changed
+7
-2
No files matched your search
@@ -4293,8 +4293,9 @@ public class Workspace extends PagedView
|
||||
updates.contains(info)) {
|
||||
ShortcutInfo si = (ShortcutInfo) info;
|
||||
BubbleTextView shortcut = (BubbleTextView) v;
|
||||
boolean oldPromiseState = getTextViewIcon(shortcut)
|
||||
instanceof PreloadIconDrawable;
|
||||
Drawable oldIcon = getTextViewIcon(shortcut);
|
||||
boolean oldPromiseState = (oldIcon instanceof PreloadIconDrawable)
|
||||
&& ((PreloadIconDrawable) oldIcon).hasNotCompleted();
|
||||
shortcut.applyFromShortcutInfo(si, mIconCache,
|
||||
si.isPromise() != oldPromiseState);
|
||||
|
||||
|
||||
Reference in new issue
Block a user