summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DeleteZone.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-09-03 09:39:42 -0700
committerJoe Onorato <joeo@android.com>2009-09-03 09:39:42 -0700
commit5162ea9b1f41dbebe00fd9ec4d1e15a697971439 (patch)
treeb90250be1d605e207328c0ffc4bb040a8f37f5be /src/com/android/launcher2/DeleteZone.java
parent6665c0f1fec6ec0962896622986340081df992e7 (diff)
downloadandroid_packages_apps_Trebuchet-5162ea9b1f41dbebe00fd9ec4d1e15a697971439.tar.gz
android_packages_apps_Trebuchet-5162ea9b1f41dbebe00fd9ec4d1e15a697971439.tar.bz2
android_packages_apps_Trebuchet-5162ea9b1f41dbebe00fd9ec4d1e15a697971439.zip
Add drag and drop from AllAppsView (to the workspace).
Also had to fix AppInfoCache to load the icon as a drawable, which I had broken when I made AllAppsView use the icons as power of two textures.
Diffstat (limited to 'src/com/android/launcher2/DeleteZone.java')
-rw-r--r--src/com/android/launcher2/DeleteZone.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/DeleteZone.java b/src/com/android/launcher2/DeleteZone.java
index 43fb1a69a..ed4cba931 100644
--- a/src/com/android/launcher2/DeleteZone.java
+++ b/src/com/android/launcher2/DeleteZone.java
@@ -136,7 +136,7 @@ public class DeleteZone extends ImageView implements DropTarget, DragController.
dragView.setPaint(null);
}
- public void onDragStart(View v, DragSource source, Object info, int dragAction) {
+ public void onDragStart(DragSource source, Object info, int dragAction) {
final ItemInfo item = (ItemInfo) info;
if (item != null) {
mTrashMode = true;