commit | 151778998ae6087c17cae4916a2c02eb59558daa | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Fri Dec 18 08:01:00 2015 -0800 |
committer | Vadim Tryshev <vadimt@google.com> | Sat Dec 19 01:50:29 2015 +0000 |
tree | 3fde7d50967506a1f77db36ee7816dd71229b582 | |
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)