Skip to content
Commit 3c729321 authored by Lais Andrade's avatar Lais Andrade
Browse files

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
parent de8ea692
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment