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

Commit 80acb6a8 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix RingerTests.

Ooops.

Test: Run tests
Bug: 133232405
Change-Id: Id8f7bb1dbd2b6afd7bf5d68dfc46b52ef2b72d3d
parent c97c15a4
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);
    }