summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com/android/internal
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-09-11 17:33:16 -0700
committerAndrew Lee <anwlee@google.com>2014-09-16 12:07:41 -0700
commit7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec (patch)
tree5f90ef2d188ec564b16fd79936b5a19c7ea27395 /telecomm/java/com/android/internal
parentb37b7ae137d09e21ed9b57415960ae1b975bdc0f (diff)
downloadframeworks_base-7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec.zip
frameworks_base-7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec.tar.gz
frameworks_base-7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec.tar.bz2
Add new DisconnectCause class to telecomm.
+ Add a hidden "UNKNOWN" default type to ToneGenerator. - Hide the Telephony DisconnectCause from the public API. + Add a Telecomm DisconnectCause. This is parcelable, and contains information (code, user facing message, non-user facing reason, and tone) to help describe the disconnect state and what behaviors an application can implement for the user experience. This reduces the causes for a disconnect to a more generic set. + Lots of work to pipe this through. DisconnectCause replaces the code and message which were formerly passed around. Bug: 17241433 Bug: 17329632 Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17
Diffstat (limited to 'telecomm/java/com/android/internal')
-rw-r--r--telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl b/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl
index 8f3506d..5daa568 100644
--- a/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl
+++ b/telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl
@@ -19,6 +19,7 @@ package com.android.internal.telecom;
import android.app.PendingIntent;
import android.net.Uri;
import android.telecom.ConnectionRequest;
+import android.telecom.DisconnectCause;
import android.telecom.ParcelableConnection;
import android.telecom.ParcelableConference;
import android.telecom.StatusHints;
@@ -45,7 +46,7 @@ oneway interface IConnectionServiceAdapter {
void setDialing(String callId);
- void setDisconnected(String callId, int disconnectCause, String disconnectMessage);
+ void setDisconnected(String callId, in DisconnectCause disconnectCause);
void setOnHold(String callId);