Add new @hide API to pass call direction changes through Telecom
Bug: 153277327 Test: atest TelecomUnitTests Change-Id: Icad12c4144bf185c24ee80bcbdd1aec29550bf4e
This commit is contained in:
@@ -693,4 +693,20 @@ final class ConnectionServiceAdapter implements DeathRecipient {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the direction of a call. Setting a new direction of an existing call is usually only
|
||||
* applicable during single caller emulation during conferencing, see
|
||||
* {@link Conference#setConferenceState(boolean)} for more information.
|
||||
* @param callId The identifier of the call.
|
||||
* @param direction The new direction of the call.
|
||||
*/
|
||||
void setCallDirection(String callId, @Call.Details.CallDirection int direction) {
|
||||
for (IConnectionServiceAdapter a : mAdapters) {
|
||||
try {
|
||||
a.setCallDirection(callId, direction, Log.getExternalSession());
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user