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

Skip to content
Commit d14f0147 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

Copy FocusEventDebugView MotionEvent before it gets recycled

The MotionEvent used to be copied in the "post" runnable, which runs
async from the calling thread which might have recycled the MotionEvent
before it gets copied. This fixes avoids that by doing the copy in the
same/caller runnable to ensure that there is no copy attempt of a
MotionEvent that has been recycled.

Bug: 339426797
Test: n/a
Change-Id: I9f7e33a84ee2debf93b58a6ee69fd1aef963ffe5
parent c7942f24
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