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

Commit 7d02b04a authored by Hall Liu's avatar Hall Liu Committed by android-build-merger
Browse files

Merge "Speculative fix for flaky CallAudioRouteStateMachine tests" am: 3a0d7571 am: e9ca1873

am: e1d0e4bc

Change-Id: I71fc4e726ec5b2df392c196f583002f76ca219ee
parents 3379d80a e1d0e4bc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.app.NotificationManager;
import android.content.Context;
import android.media.AudioManager;
import android.media.IAudioService;
import android.os.Handler;
import android.telecom.CallAudioState;
import android.test.suitebuilder.annotation.LargeTest;
import android.test.suitebuilder.annotation.MediumTest;
@@ -988,6 +989,8 @@ public class CallAudioRouteStateMachineTest
            verify(mMockInterruptionFilterProxy, never()).setInterruptionFilter(anyInt());
        }

        Handler h = stateMachine.getHandler();
        waitForHandlerAction(h, TEST_TIMEOUT);
        stateMachine.quitStateMachine();

        // Verify interactions with the speakerphone and bluetooth systems