Fixing icon left on the workspace when drag operation fails

Bug: 37294517
Change-Id: I1982b71cdeacff9e15bfa00c03620888c2a225c8
This commit is contained in:
Sunny Goyal
2017-04-17 14:18:55 -07:00
parent 343a77e609
commit 846d7e12c8
@@ -236,6 +236,10 @@ public class PinItemDragListener
mLauncher.exitSpringLoadedDragModeDelayed(true,
Launcher.EXIT_SPRINGLOADED_MODE_SHORT_TIMEOUT, null);
}
if (!success) {
d.deferDragViewCleanupPostAnimation = false;
}
postCleanup();
}