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

Commit 57704bd7 authored by Tyler Gunn's avatar Tyler Gunn Committed by Gerrit Code Review
Browse files

Merge "IMS: Propagate RTT capability of the called party to UI"

parents 9a2a261a 2f37d778
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -38053,6 +38053,7 @@ package android.telecom {
    field public static final int CAPABILITY_MANAGE_CONFERENCE = 128; // 0x80
    field public static final int CAPABILITY_MERGE_CONFERENCE = 4; // 0x4
    field public static final int CAPABILITY_MUTE = 64; // 0x40
    field public static final int CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT = 268435456; // 0x10000000
    field public static final int CAPABILITY_RESPOND_VIA_TEXT = 32; // 0x20
    field public static final int CAPABILITY_SEPARATE_FROM_CONFERENCE = 4096; // 0x1000
    field public static final int CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL = 768; // 0x300
@@ -38332,6 +38333,7 @@ package android.telecom {
    field public static final int CAPABILITY_MANAGE_CONFERENCE = 128; // 0x80
    field public static final int CAPABILITY_MERGE_CONFERENCE = 4; // 0x4
    field public static final int CAPABILITY_MUTE = 64; // 0x40
    field public static final int CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT = 536870912; // 0x20000000
    field public static final int CAPABILITY_RESPOND_VIA_TEXT = 32; // 0x20
    field public static final int CAPABILITY_SEPARATE_FROM_CONFERENCE = 4096; // 0x1000
    field public static final int CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL = 768; // 0x300
+10 −1
Original line number Diff line number Diff line
@@ -543,8 +543,14 @@ public final class Call {
         */
        public static final int CAPABILITY_TRANSFER_CONSULTATIVE = 0x08000000;

        /**
         * Indicates whether the remote party supports RTT or not to the UI.
         */

        public static final int CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT = 0x10000000;

        //******************************************************************************************
        // Next CAPABILITY value: 0x10000000
        // Next CAPABILITY value: 0x20000000
        //******************************************************************************************

        /**
@@ -786,6 +792,9 @@ public final class Call {
            if (can(capabilities, CAPABILITY_TRANSFER_CONSULTATIVE)) {
                builder.append(" CAPABILITY_TRANSFER_CONSULTATIVE");
            }
            if (can(capabilities, CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT)) {
                builder.append(" CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT");
            }
            builder.append("]");
            return builder.toString();
        }
+11 −1
Original line number Diff line number Diff line
@@ -417,8 +417,14 @@ public abstract class Connection extends Conferenceable {
     */
    public static final int CAPABILITY_TRANSFER_CONSULTATIVE = 0x10000000;

    /**
     * Indicates whether the remote party supports RTT or not to the UI.
     */

    public static final int CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT = 0x20000000;

    //**********************************************************************************************
    // Next CAPABILITY value: 0x20000000
    // Next CAPABILITY value: 0x40000000
    //**********************************************************************************************

    /**
@@ -1076,6 +1082,10 @@ public abstract class Connection extends Conferenceable {
                == CAPABILITY_TRANSFER_CONSULTATIVE) {
            builder.append(isLong ? " CAPABILITY_TRANSFER_CONSULTATIVE" : " sup_cTrans");
        }
        if ((capabilities & CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT)
                == CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT) {
            builder.append(isLong ? " CAPABILITY_REMOTE_PARTY_SUPPORTS_RTT" : " sup_rtt");
        }
        builder.append("]");
        return builder.toString();
    }