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

Commit 596b9ac7 authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Fix RingerTests.

am: 80acb6a8

Change-Id: I28d22817a4d16691246d67320a2c4ac2e9234f3f
parents 5995e5cd 80acb6a8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import android.test.suitebuilder.annotation.SmallTest;

import com.android.server.telecom.AsyncRingtonePlayer;
import com.android.server.telecom.Call;
import com.android.server.telecom.CallState;
import com.android.server.telecom.InCallController;
import com.android.server.telecom.InCallTonePlayer;
import com.android.server.telecom.Ringer;
@@ -140,6 +141,8 @@ public class RingerTest extends TelecomTestCase {
        mRingerUnderTest = new Ringer(mockPlayerFactory, mContext, mockSystemSettingsUtil,
                mockRingtonePlayer, mockRingtoneFactory, mockVibrator, spyVibrationEffectProxy,
                mockInCallController);
        when(mockCall1.getState()).thenReturn(CallState.RINGING);
        when(mockCall2.getState()).thenReturn(CallState.RINGING);
        mRingerUnderTest.setBlockOnRingingFuture(mRingCompletionFuture);
    }