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

Commit 14f7db7c authored by Ravi Paluri's avatar Ravi Paluri Committed by Gerrit - the friendly Code Review server
Browse files

Ims: Handle conference call in DIALING state

Handle conference call in DIALING state that is
originated by conference uri dialer

Change-Id: I52a64e9a5df3479189f62921a01655a50fb386fc
CRs-Fixed: 798903
parent c7cc5421
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -224,6 +224,13 @@ public abstract class Conference implements IConferenceable {
        setState(Connection.STATE_HOLDING);
    }

    /**
     * Sets state to be dialing.
     */
    public final void setDialing() {
        setState(Connection.STATE_DIALING);
    }

    /**
     * Sets state to be active.
     */
@@ -433,6 +440,7 @@ public abstract class Conference implements IConferenceable {

    private void setState(int newState) {
        if (newState != Connection.STATE_ACTIVE &&
                newState != Connection.STATE_DIALING &&
                newState != Connection.STATE_HOLDING &&
                newState != Connection.STATE_DISCONNECTED) {
            Log.w(this, "Unsupported state transition for Conference call.",