diff options
| author | 2023-03-30 18:07:34 +0200 | |
|---|---|---|
| committer | 2023-04-05 14:58:59 +0000 | |
| commit | e54c911b102205ea5b8e4eb81ff0b22dc972cd95 (patch) | |
| tree | c522daa05f7ec9e5bb4b54e9bd70a0b9b88e287d /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 63f9e576745c29c8c46a456321b8db66eb1aca61 (diff) | |
Only wait for successful vibration
Currently, the device sleeps for 500ms even if no
vibrator is available, such as on a TV device.
This CL ensures the sleep happens only if the vibration
is happening successfully.
MUST_SLEEP because this is just moving already exiting code.
Test: atest FrameworksServicesTests:VibratorManagerServiceTest
Bug: 276697207
Change-Id: I14182e43ad1fe08c2276be7988f2ac1fb3d79634
Merged-In: I14182e43ad1fe08c2276be7988f2ac1fb3d79634
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions