diff options
author | Prerepa Viswanadham <dham@google.com> | 2015-04-10 15:58:10 -0700 |
---|---|---|
committer | Prerepa Viswanadham <dham@google.com> | 2015-04-10 15:58:10 -0700 |
commit | 57bf2a8a38e929f00f3323cf97a8ea7a9af900ce (patch) | |
tree | 16549920278bc3572f80037303d63991705a53e7 /telecomm/java/android/telecom/RemoteConnectionService.java | |
parent | 3932bb41535f91b03610147e24a244cf7e4152cb (diff) | |
parent | e593d0aec6430d98731d9751facd0414a1c9c6a2 (diff) | |
download | frameworks_base-57bf2a8a38e929f00f3323cf97a8ea7a9af900ce.zip frameworks_base-57bf2a8a38e929f00f3323cf97a8ea7a9af900ce.tar.gz frameworks_base-57bf2a8a38e929f00f3323cf97a8ea7a9af900ce.tar.bz2 |
Merge commit 'e593d0a' into merge_work
Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
Diffstat (limited to 'telecomm/java/android/telecom/RemoteConnectionService.java')
-rw-r--r-- | telecomm/java/android/telecom/RemoteConnectionService.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/RemoteConnectionService.java b/telecomm/java/android/telecom/RemoteConnectionService.java index a9b725b..7374a3b 100644 --- a/telecomm/java/android/telecom/RemoteConnectionService.java +++ b/telecomm/java/android/telecom/RemoteConnectionService.java @@ -84,6 +84,7 @@ final class RemoteConnectionService { } connection.setConferenceableConnections(conferenceable); connection.setVideoState(parcel.getVideoState()); + connection.setCallSubstate(parcel.getCallSubstate()); if (connection.getState() == Connection.STATE_DISCONNECTED) { // ... then, if it was created in a disconnected state, that indicates // failure on the providing end, so immediately mark it destroyed @@ -311,6 +312,12 @@ final class RemoteConnectionService { mOurConnectionServiceImpl.addRemoteExistingConnection(remoteConnction); } + + @Override + public void setCallSubstate(String callId, int callSubstate) { + findConnectionForAction(callId, "callSubstate") + .setCallSubstate(callSubstate); + } }; private final ConnectionServiceAdapterServant mServant = |