diff options
author | Adam Cohen <adamcohen@google.com> | 2012-04-04 12:47:08 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2012-04-09 11:41:59 -0700 |
commit | c6cc61d45836e4081920883cc4d448ccb0bb8417 (patch) | |
tree | ba762273155bf3ac209f14a75636738b162e2a6b /src/com/android/launcher2/AppsCustomizePagedView.java | |
parent | cffc0b9bee02d5ddd7930992adbd0c62a5ca7fc6 (diff) | |
download | android_packages_apps_Trebuchet-c6cc61d45836e4081920883cc4d448ccb0bb8417.tar.gz android_packages_apps_Trebuchet-c6cc61d45836e4081920883cc4d448ccb0bb8417.tar.bz2 android_packages_apps_Trebuchet-c6cc61d45836e4081920883cc4d448ccb0bb8417.zip |
Cleanup and refactoring in relation to drag and drop
-> folder creation, adding to folders, reordering, switching pages
-> ensuring parity of dragEnter and dragExit in cell layouts and workspace
(neither were consistently getting an even number of each)
-> actually enforced above with exceptions -- probably want to
take these out, but maybe we can leave them in as warnings
-> fixed bug with mapping points to hotseat
-> fixes other bugs with drag and drop
Change-Id: I564568f810f2784d122ec6135012b67c2e8e7551
Diffstat (limited to 'src/com/android/launcher2/AppsCustomizePagedView.java')
-rw-r--r-- | src/com/android/launcher2/AppsCustomizePagedView.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java index f1ae2c568..67ae1f112 100644 --- a/src/com/android/launcher2/AppsCustomizePagedView.java +++ b/src/com/android/launcher2/AppsCustomizePagedView.java @@ -737,7 +737,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen * @param target where the item was dragged to (can be null if the item was flung) */ private void endDragging(View target, boolean isFlingToDelete, boolean success) { - mLauncher.getWorkspace().onDragStopped(success); if (isFlingToDelete || !success || (target != mLauncher.getWorkspace() && !(target instanceof DeleteDropTarget))) { // Exit spring loaded mode if we have not successfully dropped or have not handled the |