From 5162ea9b1f41dbebe00fd9ec4d1e15a697971439 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Thu, 3 Sep 2009 09:39:42 -0700 Subject: 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. --- src/com/android/launcher2/DeleteZone.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/launcher2/DeleteZone.java') 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; -- cgit v1.2.3