Add missing setPulling() method in Connection.

Change-Id: I89c720b2fa3d3e1304766ba3779410b233a04c6a
This commit is contained in:
Tyler Gunn
2016-06-29 22:35:45 -07:00
parent 25242a7bbc
commit c242ceb406
4 changed files with 13 additions and 0 deletions

View File

@@ -1623,6 +1623,16 @@ public abstract class Connection extends Conferenceable {
setState(STATE_DIALING);
}
/**
* Sets state to pulling (e.g. the connection is being pulled to the local device from another
* device). Only applicable for {@link Connection}s with
* {@link Connection#PROPERTY_IS_EXTERNAL_CALL} and {@link Connection#CAPABILITY_CAN_PULL_CALL}.
*/
public final void setPulling() {
checkImmutable();
setState(STATE_PULLING_CALL);
}
/**
* Sets state to be on hold.
*/