diff options
author | Tyler Gunn <tgunn@google.com> | 2021-05-12 16:54:43 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-05-12 16:54:43 +0000 |
commit | 177d3788acd2bbd296d1c46705655b6deb8fd709 (patch) | |
tree | 8c9e7b60d9bfce1dd66d3d3d718061b9abac74ac | |
parent | 3458ddf5a647e49b930ff5caae412ba0b6ec0968 (diff) | |
parent | 78a59ff70b3465954af8420bd0194ec013ab6040 (diff) |
Merge "Add hidden extra for communicating whether D2D is available" into sc-dev
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index 73f1783a517e..30403f416661 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -806,6 +806,15 @@ public abstract class Connection extends Conferenceable { */ public static final String EXTRA_AUDIO_CODEC_BANDWIDTH_KHZ = "android.telecom.extra.AUDIO_CODEC_BANDWIDTH_KHZ"; + + /** + * Boolean connection extra key used to indicate whether device to device communication is + * available for the current call. + * @hide + */ + public static final String EXTRA_IS_DEVICE_TO_DEVICE_COMMUNICATION_AVAILABLE = + "android.telecom.extra.IS_DEVICE_TO_DEVICE_COMMUNICATION_AVAILABLE"; + /** * 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 |