diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2016-04-21 14:30:18 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2016-05-11 15:21:42 -0700 |
commit | eb4b79935e9f75dda72e4953f45e616e252d7b03 (patch) | |
tree | 5d99db4651efdbf698cda8a59016b8db5335ac9e /src/com/android/launcher3/CommonAppTypeParser.java | |
parent | 4dcd8ffecc5bbdc5c7496cea4eb6808f4026bf9e (diff) | |
download | android_packages_apps_Trebuchet-eb4b79935e9f75dda72e4953f45e616e252d7b03.tar.gz android_packages_apps_Trebuchet-eb4b79935e9f75dda72e4953f45e616e252d7b03.tar.bz2 android_packages_apps_Trebuchet-eb4b79935e9f75dda72e4953f45e616e252d7b03.zip |
Removing icon_type column
Icon type is not used consistently. It is used initially
during the loader. Afterwards, we save both the icon and resource to the db.
Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available,
always write the bitmap to DB whenever the shortcut is edited.
Change-Id: I0ea5e88f8904bd3250ca669220b3e5d6aeef1bfd
Diffstat (limited to 'src/com/android/launcher3/CommonAppTypeParser.java')
-rw-r--r-- | src/com/android/launcher3/CommonAppTypeParser.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/launcher3/CommonAppTypeParser.java b/src/com/android/launcher3/CommonAppTypeParser.java index 001e044f9..a4a92b6bf 100644 --- a/src/com/android/launcher3/CommonAppTypeParser.java +++ b/src/com/android/launcher3/CommonAppTypeParser.java @@ -68,7 +68,6 @@ public class CommonAppTypeParser implements LayoutParserCallback { parsedValues = values; // Remove unwanted values - values.put(Favorites.ICON_TYPE, (Integer) null); values.put(Favorites.ICON_PACKAGE, (String) null); values.put(Favorites.ICON_RESOURCE, (String) null); values.put(Favorites.ICON, (byte[]) null); |