Merge "Fix issue with drags sometimes not being handled in tests" into tm-qpr-dev

This commit is contained in:
Winson Chung
2022-09-09 16:15:53 +00:00
committed by Android (Google) Code Review

View File

@@ -258,12 +258,12 @@ public class DragAndDropController implements DisplayController.OnDisplaysChange
break; break;
case ACTION_DRAG_ENTERED: case ACTION_DRAG_ENTERED:
pd.dragLayout.show(); pd.dragLayout.show();
pd.dragLayout.update(event);
break; break;
case ACTION_DRAG_LOCATION: case ACTION_DRAG_LOCATION:
pd.dragLayout.update(event); pd.dragLayout.update(event);
break; break;
case ACTION_DROP: { case ACTION_DROP: {
pd.dragLayout.update(event);
return handleDrop(event, pd); return handleDrop(event, pd);
} }
case ACTION_DRAG_EXITED: { case ACTION_DRAG_EXITED: {