diff options
author | Winson Chung <winsonc@google.com> | 2010-11-12 12:10:35 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-11-12 14:59:59 -0800 |
commit | a34abf8c781485b788fddacb352d586bffca886c (patch) | |
tree | 6991032c0d9b7a6e33311ddf9cd624684d3d254d /src/com/android/launcher2/DragController.java | |
parent | bbc60d8e79416e37cbede55c159bf6aaa6c171d5 (diff) | |
download | packages_apps_trebuchet-a34abf8c781485b788fddacb352d586bffca886c.zip packages_apps_trebuchet-a34abf8c781485b788fddacb352d586bffca886c.tar.gz packages_apps_trebuchet-a34abf8c781485b788fddacb352d586bffca886c.tar.bz2 |
Fixing issue where dropping on the system bar would not properly cancel the drag.
Change-Id: I3d920cabb99216c222d5c419374527068f1947d0
Diffstat (limited to 'src/com/android/launcher2/DragController.java')
-rw-r--r-- | src/com/android/launcher2/DragController.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher2/DragController.java b/src/com/android/launcher2/DragController.java index 3c956f0..d796fbe 100644 --- a/src/com/android/launcher2/DragController.java +++ b/src/com/android/launcher2/DragController.java @@ -584,6 +584,8 @@ public class DragController { mDragSource.onDropCompleted((View) dropTarget, false); return true; } + } else { + mDragSource.onDropCompleted(null, false); } return false; } |