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

Commit 62eb6bb7 authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

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

am: fbdfa4c8

Change-Id: I8d6c43e6d78d386f7e77b541072426055beaa941
parents 9509bff2 fbdfa4c8
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();