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

@@ -19,6 +19,7 @@ package com.android.launcher3;
import android.graphics.Rect;
import com.android.launcher3.accessibility.DragViewStateAnnouncer;
import com.android.launcher3.dragndrop.DragOptions;
import com.android.launcher3.dragndrop.DragView;
/**
@@ -106,7 +107,7 @@ public interface DropTarget {
/**
* Handle an object being dropped on the DropTarget
*/
void onDrop(DragObject dragObject);
void onDrop(DragObject dragObject, DragOptions options);
void onDragEnter(DragObject dragObject);