summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2024-05-12 10:18:24 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2024-05-12 10:18:24 -0700
commitd14f0147d0a55b2431e0d9fcc5752e4ffa7ffc11 (patch)
tree093daf0fc247e990da98ae0a4467856103187051 /libs/input/PointerController.cpp
parentc7942f24d7ad46703a872f2431a78e103c9918a2 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions