Ensure drag outline & crosshairs disappear on drag cancel

Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
This commit is contained in:
Patrick Dubroy
2011-01-20 10:43:40 -08:00
parent 8d60f2c204
commit e3887cc4ec
3 changed files with 16 additions and 7 deletions

View File

@@ -399,6 +399,7 @@ public class DragController {
*/
public void cancelDrag() {
if (mDragging) {
// Should we also be calling onDragExit() here?
mDragSource.onDropCompleted(null, false);
}
endDrag();