summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorVladislav Kaznacheev <kaznacheev@google.com>2015-10-22 17:06:40 -0700
committerVladislav Kaznacheev <kaznacheev@google.com>2015-10-23 14:17:56 -0700
commit68dd2e864412851cd4e8b00c02a3a9ff0347df32 (patch)
treeb0511156efc9236ad81ff67559dc6e51ae81f9ff /tools/aapt2/java/JavaClassGenerator.cpp
parent3128c842e7a771b6f2e64c240ca7cf6f3483c186 (diff)
Fix cross-app drag and drop crash.
A DragEvent created in DragState.broadcastDragEndedLw could be recycled twice if one of the notified windows belongs to the system process. In this case the same instance of DragEvent is recycled first inside the event handler, and then the second time before exiting the function (which causes a RuntimeException). Added a Pid check similar to another four places in this class where dispatchDragEvent is called. Bug: 25079983 Change-Id: Ia7c1b9258a0c624bc7e2451650e2fb362848a16d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions