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

Commit e1db7e41 authored by Grant Menke's avatar Grant Menke Committed by Android (Google) Code Review
Browse files

Merge "Add API to get the telecom call id from Call.Details." into main

parents 6fae209d 626dd261
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42210,6 +42210,7 @@ package android.telecom {
    method public android.telecom.GatewayInfo getGatewayInfo();
    method public android.net.Uri getHandle();
    method public int getHandlePresentation();
    method @NonNull public String getId();
    method public android.os.Bundle getIntentExtras();
    method public final int getState();
    method public android.telecom.StatusHints getStatusHints();
+1 −0
Original line number Diff line number Diff line
@@ -13731,6 +13731,7 @@ package android.telecom {
    method public void requestStreamingState(int);
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.telecom.StreamingCall> CREATOR;
    field public static final String EXTRA_CALL_ID = "android.telecom.extra.CALL_ID";
    field public static final int STATE_DISCONNECTED = 3; // 0x3
    field public static final int STATE_HOLDING = 2; // 0x2
    field public static final int STATE_STREAMING = 1; // 0x1
+6 −0
Original line number Diff line number Diff line
@@ -936,6 +936,12 @@ public final class Call {
            return mState;
        }

        /**
         * @return the Telecom identifier associated with this {@link Call} . This is not a stable
         * identifier and is not guaranteed to be unique across device reboots.
         */
        public @NonNull String getId() { return mTelecomCallId; }

        /** {@hide} */
        @TestApi
        public String getTelecomCallId() {
+0 −1
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ public final class StreamingCall implements Parcelable {

    /**
     * The ID associated with this call.  This is the same value as {@link CallControl#getCallId()}.
     * @hide
     */
    public static final String EXTRA_CALL_ID = "android.telecom.extra.CALL_ID";