summaryrefslogtreecommitdiffstats
path: root/telecomm/java/android/telecom/DisconnectCause.aidl
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/android/telecom/DisconnectCause.aidl
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/android/telecom/DisconnectCause.aidl')
-rw-r--r--telecomm/java/android/telecom/DisconnectCause.aidl22
1 files changed, 22 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/DisconnectCause.aidl b/telecomm/java/android/telecom/DisconnectCause.aidl
new file mode 100644
index 0000000..26b8652
--- /dev/null
+++ b/telecomm/java/android/telecom/DisconnectCause.aidl
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2014, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package android.telecom;
+
+/**
+ * {@hide}
+ */
+parcelable DisconnectCause;