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

Skip to content
Commit 7c9c5b0e authored by William Escande's avatar William Escande
Browse files

HearingAid: Prevent test to crash full runner

The test was asserting inside the onReceive that is running on
targetContext. When crashing on this thread, it will crash the whole
instrumentation runner and all following test.

Replace the code with intentmatcher and remove the need for a queue.

Bug: 318800333
Test: atest HearingAidServiceTest
Flag: Exempt, test only
Change-Id: I67d08c82a2f2f4d4950cc7817cf274048ffa9f79
parent 6d79ec53
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