diff options
author | Santos Cordon <santoscordon@google.com> | 2014-07-18 13:40:29 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2014-07-19 00:23:21 +0000 |
commit | 6b45642f360ba30e5c70ab084b888738f6de0dcd (patch) | |
tree | 18cc07533010d78f2ae81f3b358728ae46f50ba3 /telecomm/java | |
parent | f251bde890dc674a5549472bcb27cce55c20c721 (diff) | |
download | frameworks_base-6b45642f360ba30e5c70ab084b888738f6de0dcd.zip frameworks_base-6b45642f360ba30e5c70ab084b888738f6de0dcd.tar.gz frameworks_base-6b45642f360ba30e5c70ab084b888738f6de0dcd.tar.bz2 |
Fixing ADD_CALL (1/3)
Bug: 16241726
Change-Id: Ie1dd72a79c2430b10b0239dbdda5508edbc8eb26
Diffstat (limited to 'telecomm/java')
-rw-r--r-- | telecomm/java/android/telecomm/ConnectionService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/telecomm/java/android/telecomm/ConnectionService.java b/telecomm/java/android/telecomm/ConnectionService.java index 5bf6124..76a826e 100644 --- a/telecomm/java/android/telecomm/ConnectionService.java +++ b/telecomm/java/android/telecomm/ConnectionService.java @@ -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 |