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

Skip to content
Commit f2163929 authored by Grace Jia's avatar Grace Jia
Browse files

Fix NullPointerException in CallAudioRouteStateMachineTest

In order to fix b/268442423, we move the speaker on/off operation to
another thread to run it asynchronously. However, this will cause some
mock instance interactions after we tear down the test and we get
NullPointerException when mock instance get invoked in the separated
thread. Wait for the invocation before we end the test and tear it down
to fix this.

Bug: b/301082049
Test: atest CallAudioRouteStateMachineTest
Change-Id: Ia01271cc6da56a5f9af611b7a9d05869e63fa974
parent 70cd2b03
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