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

Commit 7197af8d authored by Ravindra's avatar Ravindra
Browse files

Fix to display merge icon on failure.

Trigger a state change to incallui with the existing state
on an unsuccessful merge in order to enable merge icon.

Change-Id: I50084218c4df98c2b1f8092cc39f4d7e95409e6a
CRs-Fixed:  815642
parent 30e06b2c
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -923,8 +923,20 @@ public final class GsmCallTracker extends CallTracker {
                operationComplete();
            break;

            case EVENT_SWITCH_RESULT:
            case EVENT_CONFERENCE_RESULT:
                ar = (AsyncResult)msg.obj;
                if (ar.exception != null) {
                    mPhone.notifySuppServiceFailed(getFailedService(msg.what));
                    List<Connection> conn = mForegroundCall.getConnections();
                    if (conn != null) {
                        Rlog.d(LOG_TAG, "Notify merge failure");
                        conn.get(0).onConferenceMergeFailed();
                    }
                }
                operationComplete();
            break;

            case EVENT_SWITCH_RESULT:
            case EVENT_SEPARATE_RESULT:
            case EVENT_ECT_RESULT:
                ar = (AsyncResult)msg.obj;