summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2017-11-10 13:51:02 +0900
committerDaichi Hirono <hirono@google.com>2017-12-13 12:56:40 +0900
commit663e9a777f785316b2591eb180bc03f1e28f6c58 (patch)
treef1278df58c018f4218192ae7d468c16514e50aff /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbb28efb6311f203f74e2dbc5de439d53b1ea8cd5 (diff)
Close mDragState immediately when error
Previously if we encounter an error at performDrag, it sometimes just returns and lets MSG_DRAG_START_TIMEOUT clean up the drag state. It means users cannot start another drag and drop operation before timeout. The CL fix the error handling so that it immediately cleans the drag state on errors. Bug: 69141835 Test: android.server.wm.CrossAppDragAndDropTests, manually check the drag and drop behavior on test app. Change-Id: Ibc5784a842eed77e2fa082d8f38d69acc9954e3e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions