Decoupling some drag and drop code handling

> Removing some special checks around accessibility drag
> Unifying folder alarm code path for accessible and normal DnD
> Maintaining mDragStartTime inside the dragDriver instead of the callers
> Simplifying some accessibility callbacks

Future cl will create a Accessibility DragDriver and unify it with
other DnD flow

Change-Id: I1919ef218de0174678110f271b450bcb9aaf4a5c
This commit is contained in:
Sunny Goyal
2020-03-11 10:02:29 -07:00
parent 0465b4d71e
commit 9b18010990
15 changed files with 313 additions and 412 deletions

View File

@@ -59,9 +59,6 @@ public interface DropTarget {
/** Where the drag originated */
public DragSource dragSource = null;
/** The object is part of an accessible drag operation */
public boolean accessibleDrag;
/** Indicates that the drag operation was cancelled */
public boolean cancelled = false;