Skip to content
Commit c6438e90 authored by Simon Bowden's avatar Simon Bowden Committed by Lais Andrade
Browse files

Fix cancelSynced cleanup: stop the vibrator.

Currently, the VibratorController is not updated when a synced vibration
is cancelled. Consequently, it stays "isVibrating" when the vibration is
finished. This is fixed by doing the same steps cancellation of individual
steps failure for the triggerSynced failure too.

Add new tests to ensure that vibrators have stopped vibrating, and to
stop the looper thread (this is how the issue was found).

Bug: 244428021
Test: atest
Change-Id: I67ffeb170ce28e1f65227079185f1cda75636a14
Merged-In: I67ffeb170ce28e1f65227079185f1cda75636a14
(cherry picked from commit fb2fc1f0)
parent 3c10ee01
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