diff options
author | Winson Chung <winsonc@google.com> | 2010-10-28 14:14:18 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-10-28 16:08:46 -0700 |
commit | 55cef262f97749300c2f6e764da0b00cbcb78879 (patch) | |
tree | 5c7cb655eb3204d6d839851c71622d5cfb47b3ce /src/com/android/launcher2/PendingAddItemInfo.java | |
parent | 12b9fc767783feb95b33a3387b2c4405e1340b0f (diff) | |
download | android_packages_apps_Trebuchet-55cef262f97749300c2f6e764da0b00cbcb78879.tar.gz android_packages_apps_Trebuchet-55cef262f97749300c2f6e764da0b00cbcb78879.tar.bz2 android_packages_apps_Trebuchet-55cef262f97749300c2f6e764da0b00cbcb78879.zip |
Adding initial support for dropping widgets with custom configuration data.
Change-Id: I4a7ba51783b27e544e9a21882bc7cd582b3b43e0
Diffstat (limited to 'src/com/android/launcher2/PendingAddItemInfo.java')
-rw-r--r-- | src/com/android/launcher2/PendingAddItemInfo.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher2/PendingAddItemInfo.java b/src/com/android/launcher2/PendingAddItemInfo.java index 904f512b1..b7a76f494 100644 --- a/src/com/android/launcher2/PendingAddItemInfo.java +++ b/src/com/android/launcher2/PendingAddItemInfo.java @@ -17,6 +17,7 @@ package com.android.launcher2; import android.content.ComponentName; +import android.os.Parcelable; /** * We pass this object with a drag from the customization tray @@ -31,4 +32,8 @@ class PendingAddItemInfo extends ItemInfo { class PendingAddWidgetInfo extends PendingAddItemInfo { int minWidth; int minHeight; + + // Any configuration data that we want to pass to a configuration activity when + // starting up a widget + Parcelable configurationData; }
\ No newline at end of file |