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

Commit 160824a2 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6365788 from dc904426 to rvc-release

Change-Id: If240fcbdc8e115adb34f9b8f4be9731add953b74
parents f84c49d8 dc904426
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -1462,8 +1462,15 @@ public class GsmCdmaCallTracker extends CallTracker {
                        if (msg.what == EVENT_SWITCH_RESULT) {
                            Connection connection = mForegroundCall.getLatestConnection();
                            if (connection != null) {
                                if (mBackgroundCall.getState() != GsmCdmaCall.State.HOLDING) {
                                    connection.onConnectionEvent(
                                        android.telecom.Connection.EVENT_CALL_SWITCH_FAILED, null);
                                            android.telecom.Connection.EVENT_CALL_HOLD_FAILED,
                                            null);
                                } else {
                                    connection.onConnectionEvent(
                                            android.telecom.Connection.EVENT_CALL_SWITCH_FAILED,
                                            null);
                                }
                            }
                        }
                        mPhone.notifySuppServiceFailed(getFailedService(msg.what));