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

Commit 9b2ee0e3 authored by Ravindra's avatar Ravindra Committed by Gerrit - the friendly Code Review server
Browse files

Fix to prevent crash on conference failure.

Notify conference failure only when mForegroundCall has atleast
one connection.

Change-Id: I61cc2441627e3e43e03ef3cfd768e68f1ad3425f
CRs-Fixed: 947347
parent 5fd017a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -928,7 +928,7 @@ public final class GsmCallTracker extends CallTracker {
                if (ar.exception != null) {
                    mPhone.notifySuppServiceFailed(getFailedService(msg.what));
                    List<Connection> conn = mForegroundCall.getConnections();
                    if (conn != null) {
                    if (conn.size() != 0) {
                        Rlog.d(LOG_TAG, "Notify merge failure");
                        conn.get(0).onConferenceMergeFailed();
                    }