Skip to content
Commit 15177899 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

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)
parent 20e082c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment