From c3cf982d18e28fc27126265422f36c5e845808db Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 2 Oct 2014 09:38:39 -0700 Subject: Add ability to add sim-initiated MO call to UI (2/4) Add supporting (hidden) APIs to TelecomManager to add the ability to add a previous unknown call to Telecom Bug: 17787391 Change-Id: Ibdfaee81a55e11451c146751cf970980dccad435 --- telecomm/java/com/android/internal/telecom/IConnectionService.aidl | 3 ++- telecomm/java/com/android/internal/telecom/ITelecomService.aidl | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'telecomm/java/com') diff --git a/telecomm/java/com/android/internal/telecom/IConnectionService.aidl b/telecomm/java/com/android/internal/telecom/IConnectionService.aidl index 1059da3..339a982 100644 --- a/telecomm/java/com/android/internal/telecom/IConnectionService.aidl +++ b/telecomm/java/com/android/internal/telecom/IConnectionService.aidl @@ -39,7 +39,8 @@ oneway interface IConnectionService { in PhoneAccountHandle connectionManagerPhoneAccount, String callId, in ConnectionRequest request, - boolean isIncoming); + boolean isIncoming, + boolean isUnknown); void abort(String callId); diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl index feb09d5..f1cf885 100644 --- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl +++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl @@ -177,4 +177,9 @@ interface ITelecomService { * @see TelecomServiceImpl#addNewIncomingCall */ void addNewIncomingCall(in PhoneAccountHandle phoneAccount, in Bundle extras); + + /** + * @see TelecomServiceImpl#addNewUnknownCall + */ + void addNewUnknownCall(in PhoneAccountHandle phoneAccount, in Bundle extras); } -- cgit v1.1