mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 09:38:19 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user