diff options
Diffstat (limited to 'src/com/android/launcher2/PendingAddItemInfo.java')
-rw-r--r-- | src/com/android/launcher2/PendingAddItemInfo.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/PendingAddItemInfo.java b/src/com/android/launcher2/PendingAddItemInfo.java index 9a133ed27..a1e7b06a5 100644 --- a/src/com/android/launcher2/PendingAddItemInfo.java +++ b/src/com/android/launcher2/PendingAddItemInfo.java @@ -20,6 +20,7 @@ import android.appwidget.AppWidgetHostView; import android.appwidget.AppWidgetProviderInfo; import android.content.ComponentName; import android.content.pm.ActivityInfo; +import android.os.Bundle; import android.os.Parcelable; /** @@ -55,6 +56,7 @@ class PendingAddWidgetInfo extends PendingAddItemInfo { int icon; AppWidgetProviderInfo info; AppWidgetHostView boundWidget; + Bundle bindOptions = null; // Any configuration data that we want to pass to a configuration activity when // starting up a widget @@ -95,6 +97,7 @@ class PendingAddWidgetInfo extends PendingAddItemInfo { spanY = copy.spanY; minSpanX = copy.minSpanX; minSpanY = copy.minSpanY; + bindOptions = copy.bindOptions == null ? null : (Bundle) copy.bindOptions.clone(); } @Override |