diff options
| author | 2022-03-28 17:30:28 +0100 | |
|---|---|---|
| committer | 2022-03-31 11:10:09 +0000 | |
| commit | bc491a649c565e22f106edae7604b2d79a07db84 (patch) | |
| tree | dde2da2252e02f2ffdb148051d023abeeb7cf226 /libs/input/SpriteController.cpp | |
| parent | 9519e3c94ab7ec10e544e2f5a3dcb05a92939fc2 (diff) | |
Fix VibratorManager cmd for on-off waveforms
The VibrationEffect.WaveformBuilder.addSustain does not accept zero
duration sustain periods, so adding an extra check to the
VibratorManager ShellCommand implementation to handle on-off patterns
with zero entries.
Bug: 224930189
Test: manual
Change-Id: Ie1b8f15a0e7b029ebf78a2affce1c12455f08418
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions