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

Commit 464980fa authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Update Telecom test app to NOT default self-managed CS to use voip mode.

Telecom will set voip audio mode, so make sure test app is more realistic
to what developers will do.

Bug: 76362663
Test: This is the test.
Change-Id: I8aa22c3d66fd8f3301a13e7ce617cd6ec4ef7820
parent 2eb5d245
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -83,7 +83,8 @@ public class SelfManagedConnectionService extends ConnectionService {
        connection.setListener(mCallList.getConnectionListener());
        connection.setConnectionProperties(Connection.PROPERTY_SELF_MANAGED);
        connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED);
        connection.setAudioModeIsVoip(true);
        // Purposely do not set the audio mode to voip since we expect this to be the default:
        // connection.setAudioModeIsVoip(true);
        connection.setVideoState(request.getVideoState());
        Random random = new Random();
        connection.setCallerDisplayName(TEST_NAMES[random.nextInt(TEST_NAMES.length)],