Merge "Add hidden extra for communicating whether D2D is available" into sc-dev am: 177d3788ac

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14469833

Change-Id: I3ee51eae1694836e8d8bffea2c7da06ab6408a9f
This commit is contained in:
Tyler Gunn
2021-05-12 17:14:41 +00:00
committed by Automerger Merge Worker

View File

@@ -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