diff options
| author | 2024-04-22 14:30:18 +0000 | |
|---|---|---|
| committer | 2024-04-23 10:23:49 +0000 | |
| commit | 24cff7df533ecfa09b65328133c30a20255deefc (patch) | |
| tree | 62612c3877c4728b2ec5425e086e3f1ba20ce44f /libs/androidfw/StringPool.cpp | |
| parent | bf44397daf51cdf27ddafba02f9d2e59778fe244 (diff) | |
uinput: fix timestamps for JSON-style recordings
The previous changes to support specifying timestamps for evemu
recordings inadvertently made injections from JSON-style recordings have
the timestamps at which the injection was scheduled, not when it
happened, causing many events to be injected with very close-together
timestamps. This broke drawing in the tests for some inking libraries,
such as Keep's.
Bug: 330844071
Test: $ atest 'PlatformScenarioTests:android.platform.test.scenario.sysui.stylus.StylusInkingTest#writeText_appearsInShowcaseApp'
(with the @Ignore in StylusInkingTest.kt removed)
Test: replay the recording from b/330844071#comment30, check the curve
is drawn correctly
Test: replay an evemu recording and check that the timestamps shown by
`getevent -lt` are still correct
Change-Id: I5342a79d4f9b53875b9918443bf1f5fd16cd205e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions