summaryrefslogtreecommitdiff
path: root/telecomm/java
diff options
context:
space:
mode:
Diffstat (limited to 'telecomm/java')
-rw-r--r--telecomm/java/android/telecom/Connection.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index b719811791ce..5d56461e894e 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -840,6 +840,14 @@ public abstract class Connection extends Conferenceable {
"android.telecom.extra.IS_DEVICE_TO_DEVICE_COMMUNICATION_AVAILABLE";
/**
+ * Boolean connection extra key set on a {@link Connection} to indicate that swapping
+ * the call is not allowed.
+ * @hide
+ */
+ public static final String EXTRA_DISABLE_SWAP_CALL =
+ "android.telecom.extra.DISABLE_SWAP_CALL";
+
+ /**
* Connection event used to inform Telecom that it should play the on hold tone. This is used
* to play a tone when the peer puts the current call on hold. Sent to Telecom via
* {@link #sendConnectionEvent(String, Bundle)}.