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

Commit f460e5cf authored by Thomas Stuart's avatar Thomas Stuart Committed by Android (Google) Code Review
Browse files

Merge "update docs on moving VoIP calls out of starting states before 60 sec" into main

parents 283a1c15 15eb61b4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -39,7 +39,10 @@ import java.util.concurrent.Executor;

/**
 * CallControl provides client side control of a call.  Each Call will get an individual CallControl
 * instance in which the client can alter the state of the associated call.
 * instance in which the client can alter the state of the associated call.  Outgoing and incoming
 * calls should move to active (via {@link CallControl#setActive(Executor, OutcomeReceiver)} or
 * answered (via {@link CallControl#answer(int, Executor, OutcomeReceiver)} before 60 seconds.  If
 * the new call is not moved to active or answered before 60 seconds, the call will be disconnected.
 *
 * <p>
 * Each method is Transactional meaning that it can succeed or fail. If a transaction succeeds,
+6 −2
Original line number Diff line number Diff line
@@ -2621,7 +2621,9 @@ public abstract class Connection extends Conferenceable {
    }

    /**
     * Sets state to ringing (e.g., an inbound ringing connection).
     * Sets state to ringing (e.g., an inbound ringing connection).  The Connection should not be
     * in STATE_RINGING for more than 60 seconds. After 60 seconds, the Connection will
     * be disconnected.
     */
    public final void setRinging() {
        checkImmutable();
@@ -2645,7 +2647,9 @@ public abstract class Connection extends Conferenceable {
    }

    /**
     * Sets state to dialing (e.g., dialing an outbound connection).
     * Sets state to dialing (e.g., dialing an outbound connection). The Connection should not be
     * in STATE_DIALING for more than 60 seconds. After 60 seconds, the Connection will
     * be disconnected.
     */
    public final void setDialing() {
        checkImmutable();