Loading flags/telecom_incallservice_flags.aconfig +0 −8 Original line number Diff line number Diff line Loading @@ -25,14 +25,6 @@ flag { bug: "306395598" } # OWNER=pmadapurmath TARGET=24Q4 flag { name: "on_call_endpoint_changed_ics_on_connected" namespace: "telecom" description: "Ensure onCallEndpointChanged is sent to ICS when it connects." bug: "348297436" } # OWNER=tjstuart TARGET=24Q4 flag { name: "do_not_send_call_to_null_ics" Loading src/com/android/server/telecom/InCallController.java +2 −4 Original line number Diff line number Diff line Loading @@ -2678,10 +2678,8 @@ public class InCallController extends CallsManagerListenerBase implements try { inCallService.onCallAudioStateChanged(mCallsManager.getAudioState()); inCallService.onCanAddCallChanged(mCallsManager.canAddCall()); if (mFeatureFlags.onCallEndpointChangedIcsOnConnected()) { inCallService.onCallEndpointChanged(mCallsManager.getCallEndpointController() .getCurrentCallEndpoint()); } } catch (RemoteException ignored) { } // Don't complete the binding future for non-ui incalls Loading tests/src/com/android/server/telecom/tests/InCallControllerTests.java +0 −1 Original line number Diff line number Diff line Loading @@ -314,7 +314,6 @@ public class InCallControllerTests extends TelecomTestCase { .thenReturn(PackageManager.PERMISSION_DENIED); when(mMockCallsManager.getAudioState()).thenReturn(new CallAudioState(false, 0, 0)); when(mFeatureFlags.onCallEndpointChangedIcsOnConnected()).thenReturn(true); when(mMockCallsManager.getCallEndpointController()).thenReturn(mMockCallEndpointController); when(mMockCallEndpointController.getCurrentCallEndpoint()) .thenReturn(new CallEndpoint("Earpiece", 1)); Loading Loading
flags/telecom_incallservice_flags.aconfig +0 −8 Original line number Diff line number Diff line Loading @@ -25,14 +25,6 @@ flag { bug: "306395598" } # OWNER=pmadapurmath TARGET=24Q4 flag { name: "on_call_endpoint_changed_ics_on_connected" namespace: "telecom" description: "Ensure onCallEndpointChanged is sent to ICS when it connects." bug: "348297436" } # OWNER=tjstuart TARGET=24Q4 flag { name: "do_not_send_call_to_null_ics" Loading
src/com/android/server/telecom/InCallController.java +2 −4 Original line number Diff line number Diff line Loading @@ -2678,10 +2678,8 @@ public class InCallController extends CallsManagerListenerBase implements try { inCallService.onCallAudioStateChanged(mCallsManager.getAudioState()); inCallService.onCanAddCallChanged(mCallsManager.canAddCall()); if (mFeatureFlags.onCallEndpointChangedIcsOnConnected()) { inCallService.onCallEndpointChanged(mCallsManager.getCallEndpointController() .getCurrentCallEndpoint()); } } catch (RemoteException ignored) { } // Don't complete the binding future for non-ui incalls Loading
tests/src/com/android/server/telecom/tests/InCallControllerTests.java +0 −1 Original line number Diff line number Diff line Loading @@ -314,7 +314,6 @@ public class InCallControllerTests extends TelecomTestCase { .thenReturn(PackageManager.PERMISSION_DENIED); when(mMockCallsManager.getAudioState()).thenReturn(new CallAudioState(false, 0, 0)); when(mFeatureFlags.onCallEndpointChangedIcsOnConnected()).thenReturn(true); when(mMockCallsManager.getCallEndpointController()).thenReturn(mMockCallEndpointController); when(mMockCallEndpointController.getCurrentCallEndpoint()) .thenReturn(new CallEndpoint("Earpiece", 1)); Loading