summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2022-06-06 08:03:52 +0000
committer Arthur Hung <arthurhung@google.com> 2022-06-06 08:03:52 +0000
commit2d6b7b0af1b2ba930e267a403af6e4c581ac9ad8 (patch)
tree193f3c00445a64b5a333a7952993875c41e39d7c /libs/androidfw/Util.cpp
parent08a70e40fb254ed27ca7c31cf591ea368865e92f (diff)
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
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions