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

Commit d2ecd93f authored by Shriram Ganesh's avatar Shriram Ganesh Committed by Linux Build Service Account
Browse files

Added support for mid-call enabled SRVCC conference call

When TelephonyConnection is created for an unknown connection,
the recalculation of conference participants have to be
retriggered. This is because, unless that TelephonyConnection is
added to ConnectionService, it cannot be added as part of a
conference call in CallsManager.

Change-Id: Ic9359104f02eddff655d84fd25f5c28c9158e5f4
parent cee35a57
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -656,6 +656,9 @@ public abstract class ConnectionService extends Service {
                        connection.getDisconnectCause(),
                        connection.getDisconnectCause(),
                        createIdList(connection.getConferenceables()),
                        createIdList(connection.getConferenceables()),
                        connection.getExtras()));
                        connection.getExtras()));
        if (isUnknown) {
            triggerConferenceRecalculate();
        }
    }
    }


    private void abort(String callId) {
    private void abort(String callId) {
@@ -1015,6 +1018,16 @@ public abstract class ConnectionService extends Service {
        return null;
        return null;
    }
    }


    /**
     * Trigger recalculate functinality for conference calls. This is used when a Telephony
     * Connection is part of a conference controller but is not yet added to Connection
     * Service and hence cannot be added to the conference call.
     *
     * @hide
     */
    public void triggerConferenceRecalculate() {
    }

    /**
    /**
     * Create a {@code Connection} given an outgoing request. This is used to initiate new
     * Create a {@code Connection} given an outgoing request. This is used to initiate new
     * outgoing calls.
     * outgoing calls.