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

Commit 698c18a2 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 0fffc953
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -256,8 +256,14 @@ public final class Call {
         */
        public static final int CAPABILITY_CAN_PULL_CALL = 0x00800000;

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

        //******************************************************************************************
        // Next CAPABILITY value: 0x01000000
        // Next CAPABILITY value: 0x02000000
        //******************************************************************************************

        /**
@@ -413,6 +419,9 @@ public final class Call {
            if (can(capabilities, CAPABILITY_CAN_PULL_CALL)) {
                builder.append(" CAPABILITY_CAN_PULL_CALL");
            }
            if (can(capabilities, CAPABILITY_VOICE_PRIVACY)) {
                builder.append(" CAPABILITY_VOICE_PRIVACY");
            }
            builder.append("]");
            return builder.toString();
        }
+8 −1
Original line number Diff line number Diff line
@@ -288,8 +288,15 @@ public abstract class Connection extends Conferenceable {
     */
    public static final int CAPABILITY_CAN_PULL_CALL = 0x01000000;

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


    //**********************************************************************************************
    // Next CAPABILITY value: 0x02000000
    // Next CAPABILITY value: 0x04000000
    //**********************************************************************************************

    /**