diff options
author | Santos Cordon <santoscordon@google.com> | 2014-02-05 13:04:15 -0800 |
---|---|---|
committer | Evan Charlton <evanc@google.com> | 2014-02-20 15:14:32 -0800 |
commit | f6d868bd543b5178b6f35757141807273e53eca8 (patch) | |
tree | c4e3040aad90599db224f060c5cfeb132a081ea8 /telecomm | |
parent | 713f1d7f213aece78a260b5b0bdee4c99205e75f (diff) | |
download | frameworks_base-f6d868bd543b5178b6f35757141807273e53eca8.zip frameworks_base-f6d868bd543b5178b6f35757141807273e53eca8.tar.gz frameworks_base-f6d868bd543b5178b6f35757141807273e53eca8.tar.bz2 |
Adds methods for a call service respond to a call().
Change-Id: Ib597037b8fafcfa54f3bd1ee21b91285ea595fd4
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecomm/ICallServiceAdapter.aidl | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/telecomm/java/android/telecomm/ICallServiceAdapter.aidl b/telecomm/java/android/telecomm/ICallServiceAdapter.aidl index 48622d3..112a1dd53 100644 --- a/telecomm/java/android/telecomm/ICallServiceAdapter.aidl +++ b/telecomm/java/android/telecomm/ICallServiceAdapter.aidl @@ -51,12 +51,21 @@ oneway interface ICallServiceAdapter { void newIncomingCall(in CallInfo callInfo); /** - * Tells CallsManager of a new outgoing call. Use of this method should always follow - * {@link ICallService#call}. + * Tells Telecomm that an attempt to place the specified outgoing call succeeded. + * TODO(santoscordon): Consider adding a CallState parameter in case this outgoing call is + * somehow no longer in the DIALING state. * - * @param callId The unique ID (via {@link ICallService#call}) of the new outgoing call. + * @param callId The ID of the outgoing call. */ - void newOutgoingCall(String callId); + void handleSuccessfulOutgoingCall(String callId); + + /** + * Tells Telecomm that an attempt to place the specified outgoing call failed. + * + * @param callId The ID of the outgoing call. + * @param errorMessage The error associated with the failed call attempt. + */ + void handleFailedOutgoingCall(String callId, String errorMessage); /** * Sets a call's state to active (e.g., an ongoing call where two parties can actively |