summaryrefslogtreecommitdiffstats
path: root/telecomm/java/android/telecom/Connection.java
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-01-11 16:28:50 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-03 16:15:43 -0800
commit8d4de13c37fc4a69153c6acce7b5fc1c0617f935 (patch)
tree32b1f7e2b8fd61adf9d7d25675765cd45576a9df /telecomm/java/android/telecom/Connection.java
parent11d3a2dca6c4cd8a00fe96b1a9ab376a120ca2b6 (diff)
downloadframeworks_base-8d4de13c37fc4a69153c6acce7b5fc1c0617f935.zip
frameworks_base-8d4de13c37fc4a69153c6acce7b5fc1c0617f935.tar.gz
frameworks_base-8d4de13c37fc4a69153c6acce7b5fc1c0617f935.tar.bz2
add routing for explicit call transfer
Ref: CYNGNOS-1010 Change-Id: Ifd4150ce5589bdb586b3d840e967cc10be19fec4 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r--telecomm/java/android/telecom/Connection.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index 01582a8..f7d83e8 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -272,8 +272,14 @@ public abstract class Connection extends Conferenceable {
*/
public static final int CAPABILITY_SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE = 0x01000000;
+ /**
+ * Remote device supports call transfers.
+ * @hide
+ */
+ public static final int CAPABILITY_SUPPORTS_TRANSFER = 0x04000000;
+
//**********************************************************************************************
- // Next CAPABILITY value: 0x04000000
+ // Next CAPABILITY value: 0x08000000
//**********************************************************************************************
/**
@@ -1945,6 +1951,11 @@ public abstract class Connection extends Conferenceable {
public void onReject() {}
/**
+ * Transfers the current call.
+ */
+ public void onTransfer() { }
+
+ /**
* Notifies this Connection whether the user wishes to proceed with the post-dial DTMF codes.
*/
public void onPostDialContinue(boolean proceed) {}