diff options
| author | Lais Andrade <lsandrade@google.com> | 2021-09-03 18:32:31 +0100 |
|---|---|---|
| committer | Lais Andrade <lsandrade@google.com> | 2021-09-07 17:42:28 +0100 |
| commit | ae18a6a06ed094568ea449e136de8f2f15a7ae46 (patch) | |
| tree | c037366eb032f14e0bf01d5a81751a7a738be069 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 637cc7dcea50f86d4673c23411741f50a61ada1e (diff) | |
Fix RampDownAdapter handling repeating waveforms
The adapter replaces the zero-amplitude steps with a ramp down to zero
on devices with configured ramp down duration, but does not handle well
the repeat index and ends up repeating to a part of a ramp introduced.
This fixes the repeat index handling and also the edge case when the
replaced zero segment is the one it starts repeating.
Fix: 198755610
Test: RampDownAdapterTest
Change-Id: I2489b1a73088f2b992455f2b687daf5c54298dd1
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
