summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorLais Andrade <lsandrade@google.com>2021-07-09 18:36:03 +0100
committerLais Andrade <lsandrade@google.com>2021-07-14 09:44:40 +0100
commit0484b7e98ba11b59d0c150638a2382ffeecce943 (patch)
tree60908e0e38e1d50ba658f737e89ce12f8e571328 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parente388c26283eef2cc01a07406eee0aa4e4bddb627 (diff)
Fix VibrationThread with repeating waveforms of positive amplitudes
The VibrationThread is using a fixed duration of 1s to turn on the vibrator for a repeating waveform that has all amplitudes positive. This does not work if steps are longer than that, as the vibration will stop prematurely and the thread will wait until the next step to turn the vibrator back on, causing a noticible break. Fix: 193206875 Test: VibrationThreadTest Change-Id: I7ac3e397d588ac44dde5430f8fea852a283b4ae8
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions