Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e9316d5ba7
@@ -190,6 +190,7 @@ public class LoaderCursor extends CursorWrapper {
|
||||
String resourceName = itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT
|
||||
? getString(iconResourceIndex) : null;
|
||||
byte[] iconBlob = itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT
|
||||
|| itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT
|
||||
|| restoreFlag != 0
|
||||
? getBlob(iconIndex) : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user