Fixing loadWorkspace being called multiple times

Using right intent when refreshing shortcut icons

Bug: 17662782
Bug: 17663766
Bug: 17569197
Change-Id: I8d698c5e2145b8412aff9978db4ec930d89f7f24
This commit is contained in:
Sunny Goyal
2014-09-25 16:20:38 -07:00
parent f876301d0a
commit c5fb59fb9a
3 changed files with 6 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ public class ShortcutInfo extends ItemInfo {
}
public void updateIcon(IconCache iconCache) {
mIcon = iconCache.getIcon(intent, user);
mIcon = iconCache.getIcon(promisedIntent != null ? promisedIntent : intent, user);
usingFallbackIcon = iconCache.isDefaultIcon(mIcon, user);
}