Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcf37b6e authored by Winson Chung's avatar Winson Chung
Browse files

Guard against drag and drop failures

- Hypothetical fix for the crash, if the drag listener logic is included
  in multiple views, it's possible that multiple views can try to listen
  to the drag, which will result in cleanup being called multiple times.
  Just in case, we also guard against cleaning up the surface if somehow
  the provided drag surface is not valid.

Fixes: 414168192
Flag: EXEMPT bugfix
Test: atest ExpandableNotificationRowDragControllerTest
Change-Id: I6c8a0b16503fe0964de8db2ecb63287f1360a521
parent 799e09d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment