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

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

Merge "update docs for Connection#onHold()" into main

parents 62d9b60c 792a50a3
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3388,7 +3388,11 @@ public abstract class Connection extends Conferenceable {
    public void onAbort() {}

    /**
     * Notifies this Connection of a request to hold.
     * Notifies this Connection of a request to hold. {@link Connection#setOnHold} should be within
     * the onHold() body in order to transition the call state to {@link Connection#STATE_HOLDING}.
     * <p>
     * Note: If the Connection does not transition to  {@link Connection#STATE_HOLDING} within 2
     * seconds, the call will be disconnected.
     */
    public void onHold() {}