commit | 3c729321dc64bbeb5b60d51c25491baf06ea8a80 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Wed Jun 30 12:18:00 2021 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Mon Jul 05 12:20:10 2021 +0100 |
tree | fbc68863b1b8921809c13c7f7d15432aaac9910c | |
parent | de8ea692b1c58cb19c7fb94ce1aa5bf9299187b3 [diff] |
Add support to slowly bring the vibrator down in VibrationThread Add support to slowly bring down the vibrator amplitude when a vibration ends at a positive amplitude or when it is cancelled while playing at a positive amplitude. This uses the same duration configured to ramp down PWLE and step waveforms, and the duration is not considered part of the user defined vibration. Bug: 188431691 Test: VibrationThreadTest Change-Id: I642e898c3b13b2c841543e870275e40df4d00b81