summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-03-22 15:38:10 +0000
committer Harry Cutts <hcutts@google.com> 2023-03-22 15:38:10 +0000
commit9892a3000db1dc71aed6eb371dc5c7a0d8a42e22 (patch)
treee262644a2e79ebdb4b9854ad1458abaf9436bde3 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parentc9572db22d799f83557d69a68d8e1ab0594e11e6 (diff)
Fix touchpad palm filtering logic
When I added this logic [0], I was under the mistaken impression that the Gesture library required touches that were leaving the pad to be reported as FingerStates with a tracking ID of -1. It turns out that it doesn't, and in fact such FingerStates shouldn't be sent to it [1]. This makes the palm filtering logic simpler, since we can just always ignore a slot if it has the palm tool type, rather than having to make one last FingerState for it if was previously a finger. [0]: Change ID I7d898889d4bf4e8068194d22150c02a69b59c435 [1]: https://crrev.com/c/4360158 Bug: 251196347 Bug: 270041770 Test: atest inputflinger_tests:HardwareStateConverterTest Test: limited manual testing Change-Id: I7f70f1b677ba19a472fd1670918a82dfe65c6f39
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions