diff options
author | Winson Chung <winsonc@google.com> | 2011-01-07 11:17:23 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-01-07 16:00:59 -0800 |
commit | 304dcde0e301c2f1a0b2bdc80ea8617930691b6e (patch) | |
tree | 699fcf5f04a7e322b649ff60aba6ac8e3f51d990 /src/com/android/launcher2/DragController.java | |
parent | 815ba2d2eabded5ffee53fba668d63ca9173e6fd (diff) | |
download | packages_apps_trebuchet-304dcde0e301c2f1a0b2bdc80ea8617930691b6e.zip packages_apps_trebuchet-304dcde0e301c2f1a0b2bdc80ea8617930691b6e.tar.gz packages_apps_trebuchet-304dcde0e301c2f1a0b2bdc80ea8617930691b6e.tar.bz2 |
Ensuring that we don't start dragging while another drag is in progress.
Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664
Diffstat (limited to 'src/com/android/launcher2/DragController.java')
-rw-r--r-- | src/com/android/launcher2/DragController.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher2/DragController.java b/src/com/android/launcher2/DragController.java index 0f24cd9..b456030 100644 --- a/src/com/android/launcher2/DragController.java +++ b/src/com/android/launcher2/DragController.java @@ -390,6 +390,10 @@ public class DragController { return mDragging; } + public boolean isDragging() { + return mDragging; + } + /** * Stop dragging without dropping. */ |