DescriptionDon't refcount tracking id -> slot id mapping.
Previously we tried to refcount the tracking id to slot id mapping.
This broke in some circumstances where the number of press events was
not equal to the number of release events.
This patch switches to marking some touch events such that they don't
modify the mapping, simplifying logic, and fixing a nasty bug.
BUG=439051
TEST=EventsXTest.TouchEventNotRemovingFromNativeMapping
Committed: https://crrev.com/47a823b565a4051e58d83a857738c0fb8417d9ac
Cr-Commit-Position: refs/heads/master@{#313520}
Patch Set 1 #Patch Set 2 : Fix uninitialized memory issue. #
Total comments: 4
Patch Set 3 : Address sadrul's feedback (add test) #Patch Set 4 : Tidied things up. #
Total comments: 9
Patch Set 5 : Address sadrul's comments. #
Total comments: 2
Patch Set 6 : Fix comment. #
Total comments: 1
Messages
Total messages: 17 (4 generated)
|