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

Commit 8e506ec4 authored by Lais Andrade's avatar Lais Andrade
Browse files

Avoid delayed broadcasts affecting other tests in VibrationSettingsTest

Replace AudioManager with a mock in VibrationSettings and use manually
triggered broadcasts in listener test to avoid flakyness caused by
delayed broadcasts triggered from separate tests.

Fix: 269504315
Test: atest --iterations 100 VibrationSettingsTest
Change-Id: I689f6dd99f3ff10a832328cc1ccc27c91380c0e7
parent 757dea6c
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