diff options
author | Vadim Tryshev <vadimt@google.com> | 2015-12-18 08:01:00 -0800 |
---|---|---|
committer | Vadim Tryshev <vadimt@google.com> | 2015-12-19 01:50:29 +0000 |
commit | 151778998ae6087c17cae4916a2c02eb59558daa (patch) | |
tree | 3fde7d50967506a1f77db36ee7816dd71229b582 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 20e082c7dd83c2b61ac7f6b18141b06e05fa51b1 (diff) |
Fixing crash in D&D due to race conditions during drag end.
*** MERGING TO MASTER ***
Drag-end event processing for a child view can remove the GroupView,
Which will synchronously call dispatchDetachedFromWindow(), which will
null mChildrenInterestedInDrag.
This causes a crash when trying to clear the map.
Fixing by introducing a local variable.
Bug: 25433279
Change-Id: I2ef88f7f97935dbafda54634831fbbff747b8f2e
(cherry picked from commit 2e2f1066ad89110365cdb504bf6568569d94da58)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions