DO NOT MERGE Remove connection substate
Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
This commit is contained in:
@@ -369,26 +369,4 @@ final class ConnectionServiceAdapter implements DeathRecipient {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the call substate for the connection.
|
||||
* Valid values: {@link Connection#CALL_SUBSTATE_NONE},
|
||||
* {@link Connection#CALL_SUBSTATE_AUDIO_CONNECTED_SUSPENDED},
|
||||
* {@link Connection#CALL_SUBSTATE_VIDEO_CONNECTED_SUSPENDED},
|
||||
* {@link Connection#CALL_SUBSTATE_AVP_RETRY},
|
||||
* {@link Connection#CALL_SUBSTATE_MEDIA_PAUSED}.
|
||||
*
|
||||
* @param callId The unique ID of the call to set the substate for.
|
||||
* @param callSubstate The new call substate.
|
||||
* @hide
|
||||
*/
|
||||
public final void setCallSubstate(String callId, int callSubstate) {
|
||||
Log.v(this, "setCallSubstate: %d", callSubstate);
|
||||
for (IConnectionServiceAdapter adapter : mAdapters) {
|
||||
try {
|
||||
adapter.setCallSubstate(callId, callSubstate);
|
||||
} catch (RemoteException ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user