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
Loading
Please register or sign in to comment