mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Fixing preloaded widget not getting used for animation
> The preloaded widget was being set in a different instance of PendingAddWidgetInfo and was never getting used for animation. bug: 20699153 Change-Id: Iaec13640e49c66993b4695e4a52dc3a3a2133fb2
This commit is contained in:
@@ -65,25 +65,6 @@ public class PendingAddWidgetInfo extends PendingAddItemInfo {
|
||||
return itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
|
||||
}
|
||||
|
||||
// Copy constructor
|
||||
public PendingAddWidgetInfo(PendingAddWidgetInfo copy) {
|
||||
minWidth = copy.minWidth;
|
||||
minHeight = copy.minHeight;
|
||||
minResizeWidth = copy.minResizeWidth;
|
||||
minResizeHeight = copy.minResizeHeight;
|
||||
previewImage = copy.previewImage;
|
||||
icon = copy.icon;
|
||||
info = copy.info;
|
||||
boundWidget = copy.boundWidget;
|
||||
componentName = copy.componentName;
|
||||
itemType = copy.itemType;
|
||||
spanX = copy.spanX;
|
||||
spanY = copy.spanY;
|
||||
minSpanX = copy.minSpanX;
|
||||
minSpanY = copy.minSpanY;
|
||||
bindOptions = copy.bindOptions == null ? null : (Bundle) copy.bindOptions.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("PendingAddWidgetInfo package=%s, name=%s",
|
||||
|
||||
Reference in New Issue
Block a user