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

Commit c11d44b7 authored by Ravindra's avatar Ravindra Committed by Linux Build Service Account
Browse files

Add voice privacy capability

Define voice privacy capability for the  connection and for the call.

Change-Id: I3b2f5fa776f0c869941f49b9c9b20751ddad058a
parent 71d6acbf
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -206,6 +206,12 @@ public final class Call {
         */
        public static final int CAPABILITY_CAN_PAUSE_VIDEO = 0x00100000;

        /**
         * Call has voice privacy capability.
         * @hide
         */
        public static final int CAPABILITY_VOICE_PRIVACY = 0x00400000;

        //******************************************************************************************
        // Next CAPABILITY value: 0x00004000
        //******************************************************************************************
@@ -333,6 +339,9 @@ public final class Call {
            if (can(capabilities, CAPABILITY_CAN_PAUSE_VIDEO)) {
                builder.append(" CAPABILITY_CAN_PAUSE_VIDEO");
            }
            if (can(capabilities, CAPABILITY_VOICE_PRIVACY)) {
                builder.append(" CAPABILITY_VOICE_PRIVACY");
            }
            builder.append("]");
            return builder.toString();
        }
+5 −0
Original line number Diff line number Diff line
@@ -247,6 +247,11 @@ public abstract class Connection extends Conferenceable {
     * @hide
     */
    public static final int CAPABILITY_CONFERENCE_HAS_NO_CHILDREN = 0x00200000;
    /**
      * Call has voice privacy capability.
      * @hide
      */
    public static final int CAPABILITY_VOICE_PRIVACY = 0x00400000;

    //**********************************************************************************************
    // Next CAPABILITY value: 0x00400000