diff options
author | Santos Cordon <santoscordon@google.com> | 2014-07-21 01:28:28 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2014-07-21 19:29:39 +0000 |
commit | e8dc4bef00e391defbdee0264b2ed955b1117841 (patch) | |
tree | 247fa8e97d517967997d0b5a2e99453d6d048a0a /telecomm/java/com | |
parent | 1e586e08bfcac5c5edafd9ec31e76930449bbee7 (diff) | |
download | frameworks_base-e8dc4bef00e391defbdee0264b2ed955b1117841.zip frameworks_base-e8dc4bef00e391defbdee0264b2ed955b1117841.tar.gz frameworks_base-e8dc4bef00e391defbdee0264b2ed955b1117841.tar.bz2 |
Sent initial data to telecomm on connection creation. (1/3)
Telecomm was not sending the initial state for new connections forcing
the connection services to postpone when they set data on the connection
which resulted in hacky code. This CL makes use of a
ParcelableConnection to send the intial connection data.
Change-Id: If571414aba19fa1bb282e30632431962b8366cf4
Diffstat (limited to 'telecomm/java/com')
-rw-r--r-- | telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl b/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl index 1abdf7c..552993f 100644 --- a/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl +++ b/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl @@ -19,6 +19,7 @@ package com.android.internal.telecomm; import android.app.PendingIntent; import android.net.Uri; import android.telecomm.ConnectionRequest; +import android.telecomm.ParcelableConnection; import android.telecomm.StatusHints; import com.android.internal.telecomm.ICallVideoProvider; @@ -32,7 +33,8 @@ import com.android.internal.telecomm.RemoteServiceCallback; * {@hide} */ oneway interface IConnectionServiceAdapter { - void handleCreateConnectionSuccessful(in ConnectionRequest request); + void handleCreateConnectionSuccessful( + in ConnectionRequest request, in ParcelableConnection connection); void handleCreateConnectionFailed( in ConnectionRequest request, int errorCode, String errorMessage); |