Fixing ADD_CALL (1/3)

Bug: 16241726
Change-Id: Ie1dd72a79c2430b10b0239dbdda5508edbc8eb26
This commit is contained in:
Santos Cordon
2014-07-18 13:40:29 -07:00
parent f251bde890
commit 6b45642f36

View File

@@ -427,6 +427,12 @@ public abstract class ConnectionService extends Service {
request.getCallId());
mAdapter.handleCreateConnectionSuccessful(request);
addConnection(request.getCallId(), connection);
// TODO: onSuccess should pass through the entire state of the connection instead of
// having to set it like this afterwards. Also, it would eliminate the hack of
// having to change the request object that we pass back.
mConnectionListener.onCallCapabilitiesChanged(
connection, connection.getCallCapabilities());
}
@Override