Skip to content
Commit 39adc8aa authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioPolicyDeathTest: fix flakiness

In some contexts, launching the activity that registers
the dynamic audio policy can take more than 1 second which
causes the test to fail.
Add a callback confirming that the activity is running and
wait for the callback before proceeding with the test.

Bug: 206614157
Test: atest AudioPolicyDeathTest
Change-Id: Iac892e7a679c99973af5a1fe15b7b189299c4b47
parent b0f1e19c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment