diff options
| author | 2022-11-16 23:47:36 +0000 | |
|---|---|---|
| committer | 2022-11-16 23:51:24 +0000 | |
| commit | 61a243a3b32d66b9fa14a07215b993adb4d0b6c5 (patch) | |
| tree | a02264977ea6790638f7cbdcfbdb5fabeb040883 /libs/nativewindow/ANativeWindow.cpp | |
| parent | 0e33fae84f0aa2532dfe56fd27e8c90cd322e48f (diff) | |
Treat Bluetooth-smoothened events with modified timestmaps as synthetic
Since we are modifying the timestamps of events from Bluetooth devices,
these may have unintended consequences on latency metrics. Treat these
modified events as synthetic by setting the event time equal to the read
time to give it zero read latency.
Bug: 257124950
Test: atest inputflinger_tests
Change-Id: I65288050b273e6544861af1db0aee7a42d1b246d
Diffstat (limited to 'libs/nativewindow/ANativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions