Polish animation when icon returns to Folder.

ie. The animation when the user drags an icon from a Folder to a
full workspace/hotseat.

Bug: 31443188
Change-Id: If51b23cd8fc822543ac3f550f9fd2e48dd58e0e9
This commit is contained in:
Jon Miranda
2017-09-08 12:39:10 -07:00
parent 2f8d53d2f7
commit 6d3586c761
4 changed files with 44 additions and 26 deletions

View File

@@ -2092,7 +2092,7 @@ public class Workspace extends PagedView
if (dropOverView instanceof FolderIcon) {
FolderIcon fi = (FolderIcon) dropOverView;
if (fi.acceptDrop(d.dragInfo)) {
fi.onDrop(d);
fi.onDrop(d, false /* itemReturnedOnFailedDrop */);
// if the drag started here, we need to remove it from the workspace
if (!external) {