Skip to content
Commit 76761e8b authored by Lais Andrade's avatar Lais Andrade
Browse files

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