summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2024-02-29 18:35:20 +0000
committer Lais Andrade <lsandrade@google.com> 2024-02-29 18:46:08 +0000
commit173774c92c5c0d8da15f7bad693e38cd990b7c72 (patch)
tree58ab0564e14c8e35b0ba887fc715f2eabfaf80cf /libs/hwui/FrameInfoVisualizer.cpp
parent19954aa1b5f9e28119b51cf066b4c2bfa5fab616 (diff)
Fix vibration finished before HAL callback
Update TurnOffVibratorStep so it will be considered part of the main vibration steps when it's waiting for the HAL completion callback. This keeps the ramp down steps outside the main vibration duration, but it makes sure the vibration will be completed after a callback is received, even if delayed compared to the expected duration. Also fix the VibratorManagerService command line to wait for the vibration ramp down and clean up before ending the command, to prevent vibrations from being cancelled because of binder death. Fix: 327608323 Test: atest VibrationThreadTest Change-Id: I9cf0e1263f73b719de16782a85df87f740c9c5d0
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions