Add Connection.setAudioModeIsVoip

This API will be used by Telecomm to set the call's audio mode.

Change-Id: I29028e614c598d1f2501c4dfdcdbfc929b09f925
This commit is contained in:
Sailesh Nepal
2014-07-07 22:49:44 -07:00
parent 6dc7e4e46c
commit 33aaae4a07
7 changed files with 73 additions and 0 deletions

View File

@@ -193,6 +193,14 @@ final class RemoteConnectionService implements DeathRecipient {
mConnection.setFeatures(features);
}
}
/** ${inheritDoc} */
@Override
public final void setAudioModeIsVoip(String connectionId, boolean isVoip) {
if (isCurrentConnection(connectionId)) {
mConnection.setAudioModeIsVoip(isVoip);
}
}
};
RemoteConnectionService(ComponentName componentName, IConnectionService connectionService)