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

Commit fbdfa4c8 authored by Tyler Gunn's avatar Tyler Gunn Committed by Gerrit Code Review
Browse files

Merge "User cannot reject a waiting call after a switch call fails"

parents ecae0ed2 633a9d9d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1466,6 +1466,13 @@ public class GsmCdmaCallTracker extends CallTracker {
                if (isPhoneTypeGsm()) {
                    ar = (AsyncResult) msg.obj;
                    if (ar.exception != null) {
                        if (msg.what == EVENT_SWITCH_RESULT) {
                            Connection connection = mForegroundCall.getLatestConnection();
                            if (connection != null) {
                                connection.onConnectionEvent(
                                        android.telecom.Connection.EVENT_CALL_SWITCH_FAILED, null);
                            }
                        }
                        mPhone.notifySuppServiceFailed(getFailedService(msg.what));
                    }
                    operationComplete();