summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2022-07-08 18:19:34 +0100
committer Lais Andrade <lsandrade@google.com> 2022-08-22 16:55:33 +0100
commit0cc2d21e9bdefc80b926965ab51ad0e02e8c97c0 (patch)
tree62651c19db1b6241ebe5d4106cf6c923f8899c13 /libs/androidfw/StringPool.cpp
parentbb3501c4e7c0f41c7303943f9f6cbe498dbb0e30 (diff)
Fix composed VibrationEffect timing out
Fix timeout of playback of composed vibration effects (not only primitives). This happens because the timings used for triggering the next step after a HAL callback is received is propagaing the extra timeout given to the current step to wait before playing it, causing the consecutive steps to wait for a timeout no longer necessary. This is being tested now in VibrationThreadTest, with a composition of effects and primitives that has a realtime replacement with fallback, and in VibrationManagerServiceTest, that is using blocking vibrate calls to avoid some flakiness also found in those tests. Fix: 238311929 Test: VibrationManagerServiceTest & VibrationThreadTest Change-Id: I15ec5b977076903660b676ef671a472c10d9c30b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions