Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a234769 authored by Lais Andrade's avatar Lais Andrade
Browse files

Fix race condition in HalVibratorHelper

Make methods that handle vibration command records synchronized so tests
can load copies for assertion white the execution is logging commands.

This is particularly useful in VibrationThreadTest, where we can make
conditional waits based on the commands sent to the HAL.

Fix: 429228739
Test: VibrationThreadTest
Flag: EXEMPT test only
Change-Id: Idb328644506b9591e0d9f7fde0df6a3a0e879731
parent 580acc26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment