mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
am 317698bd: Loading high resolution icons for first 3 items in a folder
* commit '317698bd012c1930b83bb4e2e47ac9e363fa6c6a': Loading high resolution icons for first 3 items in a folder
This commit is contained in:
@@ -197,13 +197,17 @@ public class ShortcutInfo extends ItemInfo {
|
||||
return mIcon;
|
||||
}
|
||||
|
||||
public void updateIcon(IconCache iconCache) {
|
||||
public void updateIcon(IconCache iconCache, boolean useLowRes) {
|
||||
if (itemType == Favorites.ITEM_TYPE_APPLICATION) {
|
||||
iconCache.getTitleAndIcon(this, promisedIntent != null ? promisedIntent : intent, user,
|
||||
shouldUseLowResIcon());
|
||||
useLowRes);
|
||||
}
|
||||
}
|
||||
|
||||
public void updateIcon(IconCache iconCache) {
|
||||
updateIcon(iconCache, shouldUseLowResIcon());
|
||||
}
|
||||
|
||||
@Override
|
||||
void onAddToDatabase(Context context, ContentValues values) {
|
||||
super.onAddToDatabase(context, values);
|
||||
|
||||
Reference in New Issue
Block a user