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

Commit 6ca706b8 authored by Grant Menke's avatar Grant Menke
Browse files

Define PROPERTY_IS_TRANSACTIONAL in Call#Details.

Defined the new PROPERTY_IS_TRANSACTIONAL in Call#Details for tracking when a call is transactional or not.

Test: manually using the transactional VoIP app and added new CTS tests in TransactionalApisTest
Bug: 296934278
Change-Id: I50707a4026a93064e9f0763ed180bc8e7bd91184
parent c1edc4a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42267,6 +42267,7 @@ package android.telecom {
    field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
    field public static final int PROPERTY_IS_ADHOC_CONFERENCE = 8192; // 0x2000
    field public static final int PROPERTY_IS_EXTERNAL_CALL = 64; // 0x40
    field public static final int PROPERTY_IS_TRANSACTIONAL = 32768; // 0x8000
    field public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 2048; // 0x800
    field public static final int PROPERTY_RTT = 1024; // 0x400
    field public static final int PROPERTY_SELF_MANAGED = 256; // 0x100
+12 −1
Original line number Diff line number Diff line
@@ -714,8 +714,16 @@ public final class Call {
         */
        public static final int PROPERTY_CROSS_SIM = 0x00004000;

        /**
         * The connection is using transactional call APIs.
         * <p>
         * The underlying connection was added as a transactional call via the
         * {@link TelecomManager#addCall} API.
         */
        public static final int PROPERTY_IS_TRANSACTIONAL = 0x00008000;

        //******************************************************************************************
        // Next PROPERTY value: 0x00004000
        // Next PROPERTY value: 0x00010000
        //******************************************************************************************

        private final @CallState int mState;
@@ -913,6 +921,9 @@ public final class Call {
            if (hasProperty(properties, PROPERTY_CROSS_SIM)) {
                builder.append(" PROPERTY_CROSS_SIM");
            }
            if (hasProperty(properties, PROPERTY_IS_TRANSACTIONAL)) {
                builder.append(" PROPERTY_IS_TRANSACTIONAL");
            }
            builder.append("]");
            return builder.toString();
        }