commit | 6569dc0d64568972580933b3b5525dd92ac00dba | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Thu Oct 22 18:58:59 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Thu Oct 29 18:38:57 2020 +0000 |
tree | 04ac8f13f7910284dd70ccec4b61c35365cd7174 | |
parent | 3a14c6bdcc973838660dd7eb89302e349b39daec [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: manually check waveform vibration durations with dumpsys Change-Id: I0ac88baf4127e9aebe56041a3a334ef8a2f8d43d Merged-In: Iafe7f031444f68cd2cdc16883812874f385cba8e