Skip to content
Commit 2d6b7b0a authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix CrossAppDragAndDropTests failed

Currently, InputDispatcher could report the invalid drop target when
receving an unexpected cancel or the drag window has gone. In other
hand,`View.cancelDragAndDrop` could directly cancel the current drag
state cause `reportDropWindow` access the invalid state.

We should check the valid drag state when called `reportDropWindow`.

Test: atest DragDropControllerTests CrossAppDragAndDropTests
Bug: 234889646
Change-Id: Ibe9c94d2ff4471bfc5ff32d62e4701ef9a0d75d0
parent 08a70e40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment