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:
@@ -4059,6 +4059,16 @@ public class Workspace extends PagedView
|
||||
});
|
||||
}
|
||||
|
||||
public View getHomescreenIconByItemId(final long id) {
|
||||
return getFirstMatch(new ItemOperator() {
|
||||
|
||||
@Override
|
||||
public boolean evaluate(ItemInfo info, View v, View parent) {
|
||||
return info.id == id;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public View getViewForTag(final Object tag) {
|
||||
return getFirstMatch(new ItemOperator() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user