diff options
author | Lais Andrade <lsandrade@google.com> | 2021-07-09 12:10:06 +0100 |
---|---|---|
committer | Lais Andrade <lsandrade@google.com> | 2021-07-09 12:34:15 +0100 |
commit | 76761e8b6baffbc1c7e3a99eb3c87fc817732144 (patch) | |
tree | a23adf4462a60151972ebac75fa1a3d92f920a66 /libs/hwui/renderthread/DrawFrameTask.cpp | |
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
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions