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

Skip to content
Commit d3f9584d authored by Harry Cutts's avatar Harry Cutts
Browse files

TouchInputMapper: Fix pointer ID in dispatchPointerMouse

I encountered this apparent error while refactoring. I tested cursor
movement with both a mouse and a touchpad with this "fix" in place, and
cannot see a difference in behaviour. I also can't imagine how it
couldn't be an error, given that (if I understand correctly) the pointer
index for a the same pointer ID can change between events.

However, given that I can't work out the circumstances in which this
code is executed, or locate the commit that originally introduced the
error, I've separated this change into its own commit to call attention
to it.

Bug: none
Test: check pointer movement; atest inputflinger_tests
Change-Id: I89d8e10577f99fb8699abbea652a694ff3b7ca20
parent 4e6f0de7
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