summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DropTarget.java
diff options
context:
space:
mode:
authorPatrick Dubroy <dubroy@google.com>2010-08-17 15:11:18 -0700
committerPatrick Dubroy <dubroy@google.com>2010-08-18 17:57:59 -0700
commit4ed6278e518cc6894cb150b606382e8e6a012599 (patch)
treecc6c7fac56a0ac8bde4004c4f1dc868f170e5dbd /src/com/android/launcher2/DropTarget.java
parentf07e7a441c5de51d095f54d2735b7c028f217e8e (diff)
downloadandroid_packages_apps_Trebuchet-4ed6278e518cc6894cb150b606382e8e6a012599.tar.gz
android_packages_apps_Trebuchet-4ed6278e518cc6894cb150b606382e8e6a012599.tar.bz2
android_packages_apps_Trebuchet-4ed6278e518cc6894cb150b606382e8e6a012599.zip
Implement button to get application info for an app shortcut.
For now, it's just a drag target like the delete zone. Once all apps and the home screen support a selection mode, this (and delete) will be implemented as buttons in the Contextual Action Bar. Change-Id: I6bf43d03eefda672ea34c583a7021137da22b184
Diffstat (limited to 'src/com/android/launcher2/DropTarget.java')
-rw-r--r--src/com/android/launcher2/DropTarget.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher2/DropTarget.java b/src/com/android/launcher2/DropTarget.java
index 7e542312c..e33ec9a63 100644
--- a/src/com/android/launcher2/DropTarget.java
+++ b/src/com/android/launcher2/DropTarget.java
@@ -72,8 +72,7 @@ public interface DropTarget {
/**
* Check if a drop action can occur at, or near, the requested location.
- * This may be called repeatedly during a drag, so any calls should return
- * quickly.
+ * This will be called just before onDrop.
*
* @param source DragSource where the drag started
* @param x X coordinate of the drop location