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

Use vibrator HAL controller for prebaked effect

The new controller always triggers the callback, even if the HAL does
not support it. This requires changes in the VibratorService.java code
to rely on the native callback and use the ASYNC_TIMEOUT_MULTIPLIER for
the fallback.

This is the last step on the vibrator controller integration, and thus
removed the unused code from native VibratorService.cpp.

Bug: b/153418251
Test: atest FrameworksServicesTests:VibratorServiceTest
Change-Id: I65921dac3758a4f53612928a593af7461566a024
parent bc5ff34b
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