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

Commit c4d764ec authored by Pranav Madapurmath's avatar Pranav Madapurmath
Browse files

Clean up user request baseline route video call flag

Clean up this flag as it has rolled out already.

Bug: 409606110
Flag: EXEMPT cleanup flag
Test: atest CallAudioRouteControllerTest
Change-Id: I2df019d64cd75834d64c35bb620eba680634252d
parent cec70ca3
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -130,17 +130,6 @@ flag {
  }
}

# OWNER=pmadapurmath TARGET=25Q2
flag {
  name: "fix_user_request_baseline_route_video_call"
  namespace: "telecom"
  description: "Ensure that audio is routed out of speaker in a video call when we receive USER_SWITCH_BASELINE_ROUTE."
  bug: "374037591"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

# OWNER=tgunn TARGET=25Q2
flag {
  name: "only_clear_communication_device_on_inactive"
+0 −3
Original line number Diff line number Diff line
@@ -1376,9 +1376,6 @@ public class CallAudioRouteController implements CallAudioRouteAdapter {
            boolean includeBluetooth, String btAddressToExclude) {
        boolean skipEarpiece = false;
        Call foregroundCall = mCallAudioManager.getForegroundCall();
        if (!mFeatureFlags.fixUserRequestBaselineRouteVideoCall()) {
            isExplicitUserRequest = false;
        }
        if (!isExplicitUserRequest) {
            synchronized (mTelecomLock) {
                skipEarpiece = foregroundCall != null
+0 −2
Original line number Diff line number Diff line
@@ -216,7 +216,6 @@ public class CallAudioRouteControllerTest extends TelecomTestCase {
        when(mFeatureFlags.useRefactoredAudioRouteSwitching()).thenReturn(true);
        when(mFeatureFlags.resolveActiveBtRoutingAndBtTimingIssue()).thenReturn(false);
        when(mFeatureFlags.newAudioPathSpeakerBroadcastAndUnfocusedRouting()).thenReturn(false);
        when(mFeatureFlags.fixUserRequestBaselineRouteVideoCall()).thenReturn(false);
        when(mFeatureFlags.callAudioRoutingPerformanceImprovemenent()).thenReturn(true);
        BLUETOOTH_DEVICES.add(BLUETOOTH_DEVICE_1);
    }
@@ -1244,7 +1243,6 @@ public class CallAudioRouteControllerTest extends TelecomTestCase {
    @Test
    @SmallTest
    public void testUserSwitchBaselineRouteVideoCall() {
        when(mFeatureFlags.fixUserRequestBaselineRouteVideoCall()).thenReturn(true);
        mController.initialize();
        mController.setActive(true);
        // Set capabilities for video call.