summaryrefslogtreecommitdiffstats
path: root/telecomm/java/android/telecom/Connection.java
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-11-04 14:53:37 -0800
committerTyler Gunn <tgunn@google.com>2014-11-04 14:53:37 -0800
commit3b4b1dcb607b8932374a4bc8c9ab349b9bb68660 (patch)
tree7e6424558ff91d7f880adb276eaa65d0faadd70c /telecomm/java/android/telecom/Connection.java
parent9c95015b0ccaa02b97b4c96950e2b07e6a5a7b4e (diff)
downloadframeworks_base-3b4b1dcb607b8932374a4bc8c9ab349b9bb68660.zip
frameworks_base-3b4b1dcb607b8932374a4bc8c9ab349b9bb68660.tar.gz
frameworks_base-3b4b1dcb607b8932374a4bc8c9ab349b9bb68660.tar.bz2
Support disconnecting conference participants from conference.
- Added "onDisconnectConferenceParticipant" method used to inform a connection acting as the conference host that one of the participants should be disconnected. - Added "VIRTUAL_CALL" PhoneCapability used to indicate that a call cannot be the active or background call, but only be a child of another call. Bug: 18228141 Bug: 18176606 Change-Id: I7aec631cc89c0f08e174b24ce3a9cb547b47e36b
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r--telecomm/java/android/telecom/Connection.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index 9bdbba8..34d0660 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -974,6 +974,15 @@ public abstract class Connection {
public void onDisconnect() {}
/**
+ * Notifies this Connection of a request to disconnect a participant of the conference managed
+ * by the connection.
+ *
+ * @param endpoint the {@link Uri} of the participant to disconnect.
+ * @hide
+ */
+ public void onDisconnectConferenceParticipant(Uri endpoint) {}
+
+ /**
* Notifies this Connection of a request to separate from its parent conference.
*/
public void onSeparate() {}