commit | 934559ace989f0153cb02e92f417d1d4b52e8850 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Thu Oct 22 18:35:24 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Wed Oct 28 14:59:50 2020 +0000 |
tree | 16819b05abc67a1a618da052e2d8949edd8fd555 | |
parent | 922b08b634af23269eae9110164251ba9fc7082c [diff] |
Fix VibratorService waveform accumulated delay Change VibrateWaveformThread logic around delays while playing a waveform to amortize processing/scheduling delays into the sleep part of the thread. This should make the actual waveform duration closer to the requested one. Bug: 171133221 Test: atest FrameworksServicesTest:VibratorServiceTest Change-Id: Iafe7f031444f68cd2cdc16883812874f385cba8e