summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Simon Bowden <sbowden@google.com> 2022-08-31 14:23:32 +0000
committer Simon Bowden <sbowden@google.com> 2022-09-05 15:44:19 +0000
commitfb2fc1f0c733eefbe59024207493eca1d70beb3c (patch)
tree0f57e3a602d488cf2b1cf1ff021f9562ac2d805d /libs/input/PointerController.cpp
parenta18b921f3b9cbea0602d7aa2adc3069706276859 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions