summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLais Andrade <lsandrade@google.com>2020-07-29 18:33:46 +0000
committerLais Andrade <lsandrade@google.com>2020-08-07 14:31:06 +0000
commitbc5ff34bad0dae8306304816f66977a125a7657c (patch)
tree3a0dd59c8769f2b77530768f278a177604cbcfcb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent39502ee981c73bd16cbd6e613ff0b5019a655737 (diff)
Use vibrator HAL controller for vibrator on and waveform
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 also changes the Vibration class to ignore native callbacks on waveform effects, which are controlled by a separate VibrateThread that triggers multiple vibrator ON calls (possibly indefinitely). Bug: b/153418251 Test: atest FrameworksServicesTests:VibratorServiceTest Change-Id: I09c9a0fd3f839c8f9eda65d96584a3e0294c6c21
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions