commit | 42c29aedf2b518c4317fc534f3c87711b57bc9b5 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Mon Feb 06 16:43:52 2012 -0800 |
committer | Winson Chung <winsonc@google.com> | Tue Feb 07 16:16:27 2012 -0800 |
tree | 634f6f3152ea96be08a361328f3a54d8dff99dea | |
parent | 6af9af057f2e40c54a4ed447c4628eef7dc15683 [diff] [blame] |
Animating the drag view scale up and down when dragging items. - Also fixing up how we draw the drag view alpha Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
diff --git a/src/com/android/launcher2/DragController.java b/src/com/android/launcher2/DragController.java index 8658eeb..425f301 100644 --- a/src/com/android/launcher2/DragController.java +++ b/src/com/android/launcher2/DragController.java
@@ -394,7 +394,9 @@ listener.onDragEnd(); } if (mDragObject.dragView != null) { - mDragObject.dragView.remove(); + if (!mDragObject.deferDragViewCleanupPostAnimation) { + mDragObject.dragView.remove(); + } mDragObject.dragView = null; } }