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

Commit 609b9770 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix broken Telecom Unit test.

Fix broken VideoProviderTest.

Test: Ran unit tests.
Bug: 116707220
Change-Id: I0e0c71bb1defd0fddc5508feef1438074ea47fc0
parent ab9cd2a8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import android.os.Build;
import android.os.Handler;
import android.os.Looper;
import android.os.UserHandle;
import android.telecom.Connection;
import android.telecom.Connection.VideoProvider;
import android.telecom.InCallService;
import android.telecom.InCallService.VideoCall;
@@ -96,7 +97,8 @@ public class VideoProviderTest extends TelecomSystemTest {
        super.setUp();
        mContext = mComponentContextFixture.getTestDouble().getApplicationContext();
        mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE);

        mConnectionServiceFixtureA.mConnectionServiceDelegate.mCapabilities
                |= Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL;
        mCallIds = startAndMakeActiveOutgoingCall(
                "650-555-1212",
                mPhoneAccountA0.getAccountHandle(),