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

Commit 94573dc5 authored by Dong Zhou's avatar Dong Zhou Committed by Android Git Automerger
Browse files

am 89f41eb3: Define the capability to speed up MT call audio

* commit '89f41eb3':
  Define the capability to speed up MT call audio
parents 4ff668d4 89f41eb3
Loading
Loading
Loading
Loading
+10 −1
Original line number Original line Diff line number Diff line
@@ -182,6 +182,12 @@ public final class Call {
         */
         */
        public static final int CAPABILITY_GENERIC_CONFERENCE = 0x00004000;
        public static final int CAPABILITY_GENERIC_CONFERENCE = 0x00004000;


        /**
         * Speed up audio setup for MT call.
         * @hide
         */
        public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 0x00008000;

        private final Uri mHandle;
        private final Uri mHandle;
        private final int mHandlePresentation;
        private final int mHandlePresentation;
        private final String mCallerDisplayName;
        private final String mCallerDisplayName;
@@ -264,6 +270,9 @@ public final class Call {
            if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) {
            if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) {
                builder.append(" CAPABILITY_GENERIC_CONFERENCE");
                builder.append(" CAPABILITY_GENERIC_CONFERENCE");
            }
            }
            if (can(capabilities, CAPABILITY_SPEED_UP_MT_AUDIO)) {
                builder.append(" CAPABILITY_SPEED_UP_IMS_MT_AUDIO");
            }
            builder.append("]");
            builder.append("]");
            return builder.toString();
            return builder.toString();
        }
        }
+9 −0
Original line number Original line Diff line number Diff line
@@ -147,6 +147,12 @@ public abstract class Connection implements IConferenceable {
     */
     */
    public static final int CAPABILITY_GENERIC_CONFERENCE = 0x00004000;
    public static final int CAPABILITY_GENERIC_CONFERENCE = 0x00004000;


    /**
     * Speed up audio setup for MT call.
     * @hide
    */
    public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 0x00008000;

    // Flag controlling whether PII is emitted into the logs
    // Flag controlling whether PII is emitted into the logs
    private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG);
    private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG);


@@ -233,6 +239,9 @@ public abstract class Connection implements IConferenceable {
        if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) {
        if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) {
            builder.append(" CAPABILITY_GENERIC_CONFERENCE");
            builder.append(" CAPABILITY_GENERIC_CONFERENCE");
        }
        }
        if (can(capabilities, CAPABILITY_SPEED_UP_MT_AUDIO)) {
            builder.append(" CAPABILITY_SPEED_UP_IMS_MT_AUDIO");
        }
        builder.append("]");
        builder.append("]");
        return builder.toString();
        return builder.toString();
    }
    }