commit | bc491a649c565e22f106edae7604b2d79a07db84 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Mon Mar 28 17:30:28 2022 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Thu Mar 31 11:10:09 2022 +0000 |
tree | dde2da2252e02f2ffdb148051d023abeeb7cf226 | |
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