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

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

Merge "Speculative fix for flaky CallAudioRouteStateMachine tests"

am: 3a0d7571

Change-Id: I1d0cf71d06462c1e0a6a3db7164e300249eabbda
parents a6787151 3a0d7571
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