Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78a59ff7 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Add hidden extra for communicating whether D2D is available

Test: Added unit test
Bug: 163085177
Change-Id: I65f7fb38f0582e20899a54859d850982c6637237
parent ae6e4330
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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