DO NOT MERGE Remove connection substate

Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
This commit is contained in:
Jay Shrauner
2015-04-16 12:52:19 -07:00
parent c8769de831
commit 6f20a6a2b4
11 changed files with 10 additions and 213 deletions

View File

@@ -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) {
}
}
}
}