summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Simon Bowden <sbowden@google.com> 2022-08-31 14:23:32 +0000
committer Lais Andrade <lsandrade@google.com> 2022-10-27 12:45:04 +0000
commitc6438e9059d3e6157b3041a2028eef469516ca3f (patch)
treeca2c2f73848774567ebab908d302dad21d886f07 /libs/androidfw/StringPool.cpp
parent3c10ee01a9a39e8b61fb4a8b15c9d70c66d09a4a (diff)
Fix cancelSynced cleanup: stop the vibrator.
Currently, the VibratorController is not updated when a synced vibration is cancelled. Consequently, it stays "isVibrating" when the vibration is finished. This is fixed by doing the same steps cancellation of individual steps failure for the triggerSynced failure too. Add new tests to ensure that vibrators have stopped vibrating, and to stop the looper thread (this is how the issue was found). Bug: 244428021 Test: atest Change-Id: I67ffeb170ce28e1f65227079185f1cda75636a14 Merged-In: I67ffeb170ce28e1f65227079185f1cda75636a14 (cherry picked from commit fb2fc1f0c733eefbe59024207493eca1d70beb3c)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions