diff options
author | Sailesh Nepal <sail@google.com> | 2014-04-03 12:54:33 -0700 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2014-04-03 22:12:26 -0700 |
commit | b632e5b122d82333c390cc334ab17100bc2af7a2 (patch) | |
tree | e0376a16079627f6c9cbd728889f7edb1cfc7ec6 /telecomm/java/com | |
parent | 34c3c05963e350c477f2e34dcf9d9e05641487ff (diff) | |
download | frameworks_base-b632e5b122d82333c390cc334ab17100bc2af7a2.zip frameworks_base-b632e5b122d82333c390cc334ab17100bc2af7a2.tar.gz frameworks_base-b632e5b122d82333c390cc334ab17100bc2af7a2.tar.bz2 |
Handoff: Add APIs to allow handoff between call services
This CL adds:
- CallInfo.mExtra and CallInfo.mCurrentCallServiceDescriptor. These
can be used by the selector to perform handoff.
- InCallService.setHandoffEnabled to enform the in-call UI that handoff
is allowed.
- InCallAdapater.handoffCall to initiate handoff.
Bug: 13643568
Change-Id: I94c28b10c0e0a253450f14d31ecdc416d5b44ca4
Diffstat (limited to 'telecomm/java/com')
3 files changed, 8 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecomm/ICallServiceSelector.aidl b/telecomm/java/com/android/internal/telecomm/ICallServiceSelector.aidl index 0dd3855..9597dc1 100644 --- a/telecomm/java/com/android/internal/telecomm/ICallServiceSelector.aidl +++ b/telecomm/java/com/android/internal/telecomm/ICallServiceSelector.aidl @@ -35,4 +35,8 @@ oneway interface ICallServiceSelector { void setCallServiceSelectorAdapter(in ICallServiceSelectorAdapter adapter); void select(in CallInfo callInfo, in List<CallServiceDescriptor> callServiceDescriptors); + + void onCallUpdated(in CallInfo callInfo); + + void onCallRemoved(String callId); } diff --git a/telecomm/java/com/android/internal/telecomm/IInCallAdapter.aidl b/telecomm/java/com/android/internal/telecomm/IInCallAdapter.aidl index e0cdb83..512e898 100644 --- a/telecomm/java/com/android/internal/telecomm/IInCallAdapter.aidl +++ b/telecomm/java/com/android/internal/telecomm/IInCallAdapter.aidl @@ -45,4 +45,6 @@ oneway interface IInCallAdapter { void stopDtmfTone(String callId); void postDialContinue(String callId); + + void handoffCall(String callId); } diff --git a/telecomm/java/com/android/internal/telecomm/IInCallService.aidl b/telecomm/java/com/android/internal/telecomm/IInCallService.aidl index f5847df..4187fa8 100644 --- a/telecomm/java/com/android/internal/telecomm/IInCallService.aidl +++ b/telecomm/java/com/android/internal/telecomm/IInCallService.aidl @@ -48,4 +48,6 @@ oneway interface IInCallService { void setPostDial(String callId, String remaining); void setPostDialWait(String callId, String remaining); + + void setHandoffEnabled(String callId, boolean isHandoffEnabled); } |