mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Show and update preload icons when they are in a FolderIcon preview.
Bug: 62626549 Change-Id: Ie0ad06d0239dccb8d8388381ffe845c4bbc079d6
This commit is contained in:
@@ -180,6 +180,14 @@ public class FolderPagedView extends PagedView {
|
||||
super.dispatchDraw(canvas);
|
||||
}
|
||||
|
||||
public void onIconInvalidated(BubbleTextView icon) {
|
||||
FolderIcon folderIcon = mFolder.mFolderIcon;
|
||||
if (icon.getTag() instanceof ItemInfo
|
||||
&& folderIcon.mPreviewVerifier.isItemInPreview(((ItemInfo) icon.getTag()).rank)) {
|
||||
folderIcon.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Binds items to the layout.
|
||||
* @return list of items that could not be bound, probably because we hit the max size limit.
|
||||
|
||||
Reference in New Issue
Block a user