Merging duplicate logic for deferred drop handling in Worksace and Folder

> All the logic is contained in UninstallDropTarget
> Also fixing a bug were mWaitingForResume was not cleared

Bug: 34692289
Change-Id: I617475ce53062902d6817954fb608198e6e03d3c
This commit is contained in:
Sunny Goyal
2017-10-05 11:40:05 -07:00
parent a9e345f886
commit 3dce5f3f50
12 changed files with 170 additions and 212 deletions

View File

@@ -215,7 +215,7 @@ public abstract class ButtonDropTarget extends TextView
* On drop animate the dropView to the icon.
*/
@Override
public void onDrop(final DragObject d) {
public void onDrop(final DragObject d, final DragOptions options) {
final DragLayer dragLayer = mLauncher.getDragLayer();
final Rect from = new Rect();
dragLayer.getViewRectRelativeToSelf(d.dragView, from);