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

Commit 9390376b authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

Fix: Mouse keys interceptor uses stale KeyEvent

KeyEvent object can get recycled and updated so should make a
copy before posting to handler.
This causes 2 ACTION_UP events get injected back into the
dispatcher if event is not consumed by the InputFilter.

Test: Presubmit
Bug: 423685361
Flag: EXEMPT bugfix
Change-Id: Iceab0705d792961d5d1a0d4d0eb423bf1d2f22b8
parent 6dbefde9
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