diff options
author | 2025-03-18 16:06:01 +0000 | |
---|---|---|
committer | 2025-03-18 19:30:05 +0000 | |
commit | 9c3b9340fa177cfb5d9a1a498b9a278402d0a19a (patch) | |
tree | 28cc4deba1355edbb3e3d4d381b5815bda465496 /libs/gui/ISurfaceComposer.cpp | |
parent | 6b3c3bdab9c04da69e10ce4ddf6fe15d62cbc434 (diff) |
TouchpadInputMapper: dedup successive swipe lift gestures in metrics
In tests, the Gestures library occasionally outputs two lift gestures in
a row, which can cause inaccurate metrics reporting. To work around
this, keep track of the previous gesture the metrics collector saw, and
don't report additional swipe gestures if we see multiple lifts in a
row.
Bug: 397219482
Test: $ atest \
CtsInputHostTestCases:android.input.cts.hostside.InputAtomsTest
Flag: TEST_ONLY
Change-Id: Iac2b6ae68dc62e3a106a743b667eddd96a1a7a74
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
0 files changed, 0 insertions, 0 deletions