Add Connection.setCallCapabilities
This will be used to enable things like hold and conferencing. Change-Id: I90238eeefbcbfaa044881d80833b62e4474821d6
This commit is contained in:
@@ -221,16 +221,10 @@ final class ConnectionServiceAdapter implements DeathRecipient {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates that the specified call can conference with any of the specified list of calls.
|
||||
*
|
||||
* @param callId The unique ID of the call.
|
||||
* @param canConference Specified whether or not the call can be conferenced.
|
||||
*/
|
||||
void setCanConference(String callId, boolean canConference) {
|
||||
void setCallCapabilities(String callId, int capabilities) {
|
||||
for (IConnectionServiceAdapter adapter : mAdapters) {
|
||||
try {
|
||||
adapter.setCanConference(callId, canConference);
|
||||
adapter.setCallCapabilities(callId, capabilities);
|
||||
} catch (RemoteException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user