commit | 76761e8b6baffbc1c7e3a99eb3c87fc817732144 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Fri Jul 09 12:10:06 2021 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Fri Jul 09 12:34:15 2021 +0100 |
tree | a23adf4462a60151972ebac75fa1a3d92f920a66 | |
parent | 91d027b5fa7a064392a6c483a15922c8f076cd20 [diff] |
Fix concurrent external vibrations on ExternalVibratorService The ongoing external vibration should be muted via IExternalVibrationController and the service should not set external control on the vibrator more than once. Fix service to mute ongoing external vibration at the time it's cancelled and to skip calls to setExternalControl when it's already set. Fix: 193127756 Test: VibratorManagerServiceTest Change-Id: If61f5fd2c41dc6d15655d9ce537c858caaf530c6