summaryrefslogtreecommitdiff
path: root/telecomm/java
diff options
context:
space:
mode:
authorAshit Sood <sooda@codeaurora.org>2021-10-19 18:20:36 -0700
committerAshit Sood <sooda@codeaurora.org>2021-11-18 16:19:20 -0800
commit310974c2608485a9af472220fe7d0aaec4b9143f (patch)
tree249fb56128ad3c977c2b1494355d1cafb2132dc3 /telecomm/java
parent0fa647521d6b63356d48cf462e9f1b1382a68c12 (diff)
IMS: Add logic for concurrent call
- Add new KEY_ALLOW_CONCURRENT_CALL_DURING_VIDEO_CALL_BOOL and EXTRA_DISABLE_SWAP_CALL for indicating if concurrent call is allowed or not during video call. Change-Id: Icaf86393c87edbdcae096804b9ca5f99dd63973a CRs-Fixed: 3066353
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)}.