Loading high resolution icons for first 3 items in a folder

> Sometimes a folder gets rearranged, without updating the model,
   like when an app in uninstalled. In that case, we need to update
   the icons for folder items, which were previously hidden

Bug: 22813360
Change-Id: I99754911c969bf2153efb2948c226c1c69219b88
This commit is contained in:
Sunny Goyal
2015-07-29 11:45:41 -07:00
parent 3f7550c1ed
commit 317698bd01
7 changed files with 46 additions and 3 deletions
+1
View File
@@ -2662,6 +2662,7 @@ public class Launcher extends Activity
throw new IllegalArgumentException("Input must be a FolderIcon");
}
// TODO(sunnygoyal): Re-evaluate this code.
FolderIcon folderIcon = (FolderIcon) v;
final FolderInfo info = folderIcon.getFolderInfo();
Folder openFolder = mWorkspace.getFolderForTag(info);