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

Commit 522dbda5 authored by Vinit Deshpande's avatar Vinit Deshpande
Browse files

am "Fix emergency callback number not shown for incoming calls."

merged from goog/mirror-m-wireless-internal-release
068085b3 Fix emergency callback number not shown for incoming calls.
parents e6501ab7 068085b3
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -212,6 +212,13 @@ public final class Call {
        // Next CAPABILITY value: 0x00020000
        //******************************************************************************************

        /**
         * Indicates that the current device callback number should be shown.
         *
         * @hide
         */
        public static final int CAPABILITY_SHOW_CALLBACK_NUMBER = 0x00008000;

        private final Uri mHandle;
        private final int mHandlePresentation;
        private final String mCallerDisplayName;
@@ -306,6 +313,9 @@ public final class Call {
            if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) {
                builder.append(" CAPABILITY_GENERIC_CONFERENCE");
            }
            if (can(capabilities, CAPABILITY_SHOW_CALLBACK_NUMBER)) {
                builder.append(" CAPABILITY_SHOW_CALLBACK_NUMBER");
            }
            builder.append("]");
            return builder.toString();
        }
+12 −0
Original line number Diff line number Diff line
@@ -177,6 +177,15 @@ public abstract class Connection implements IConferenceable {
    // Next CAPABILITY value: 0x00020000
    //**********************************************************************************************

    /**
     * Indicates that the current device callback number should be shown.
     *
     * @hide
     */
    public static final int CAPABILITY_SHOW_CALLBACK_NUMBER = 0x00008000;



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

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