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

Commit 4375f003 authored by Neha Jain's avatar Neha Jain Committed by Automerger Merge Worker
Browse files

Merge "ims: Version support for uce feature tags" into sc-dev am: d446e802 am: a8a7058f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15515803

Change-Id: Ia33197ef4466909d748506f152315906606e79fd
parents 4144f2f2 a8a7058f
Loading
Loading
Loading
Loading
+261 −9

File changed.

Preview size limit exceeded, changes collapsed.

+19 −0
Original line number Original line Diff line number Diff line
@@ -30,6 +30,7 @@ public class OptionsSipResponse implements Parcelable {
    private int mSipResponseCode = 0;
    private int mSipResponseCode = 0;
    private int mRetryAfter = 0;
    private int mRetryAfter = 0;
    private String mReasonPhrase = "";
    private String mReasonPhrase = "";
    private String mReasonHeader = "";


    /**
    /**
     * Gets the Options command ID.
     * Gets the Options command ID.
@@ -116,6 +117,22 @@ public class OptionsSipResponse implements Parcelable {
        this.mRetryAfter = retryAfter;
        this.mRetryAfter = retryAfter;
    }
    }


    /**
     * Gets the reason header associated with the SIP response code.
     * @hide
     */
    public String getReasonHeader() {
        return mReasonHeader;
    }

    /**
     * Sets the SIP response code reason phrase.
     * @hide
     */
    public void setReasonHeader(String reasonHeader) {
        this.mReasonHeader = reasonHeader;
    }

    /**
    /**
     * Constructor for the OptionsSipResponse class.
     * Constructor for the OptionsSipResponse class.
     * @hide
     * @hide
@@ -138,6 +155,7 @@ public class OptionsSipResponse implements Parcelable {
        dest.writeString(mReasonPhrase);
        dest.writeString(mReasonPhrase);
        dest.writeParcelable(mCmdId, flags);
        dest.writeParcelable(mCmdId, flags);
        dest.writeInt(mRetryAfter);
        dest.writeInt(mRetryAfter);
        dest.writeString(mReasonHeader);
    }
    }


    /** @hide */
    /** @hide */
@@ -164,5 +182,6 @@ public class OptionsSipResponse implements Parcelable {
        mReasonPhrase = source.readString();
        mReasonPhrase = source.readString();
        mCmdId = source.readParcelable(OptionsCmdId.class.getClassLoader());
        mCmdId = source.readParcelable(OptionsCmdId.class.getClassLoader());
        mRetryAfter = source.readInt();
        mRetryAfter = source.readInt();
        mReasonHeader = source.readString();
    }
    }
}
}
+20 −0
Original line number Original line Diff line number Diff line
@@ -29,6 +29,7 @@ public class PresSipResponse implements Parcelable {
    private int mSipResponseCode = 0;
    private int mSipResponseCode = 0;
    private int mRetryAfter = 0;
    private int mRetryAfter = 0;
    private String mReasonPhrase = "";
    private String mReasonPhrase = "";
    private String mReasonHeader = "";


    /**
    /**
     * Gets the Presence command ID.
     * Gets the Presence command ID.
@@ -122,6 +123,23 @@ public class PresSipResponse implements Parcelable {
        this.mRetryAfter = retryAfter;
        this.mRetryAfter = retryAfter;
    }
    }


    /**
     * Gets the reason header associated with the SIP response
     * code.
     * @hide
     */
    public String getReasonHeader() {
        return mReasonHeader;
    }

    /**
     * Sets the SIP response code reason header.
     * @hide
     */
    public void setReasonHeader(String reasonHeader) {
        this.mReasonHeader = reasonHeader;
    }

    /**
    /**
     * Constructor for the PresSipResponse class.
     * Constructor for the PresSipResponse class.
     * @hide
     * @hide
@@ -141,6 +159,7 @@ public class PresSipResponse implements Parcelable {
        dest.writeString(mReasonPhrase);
        dest.writeString(mReasonPhrase);
        dest.writeParcelable(mCmdId, flags);
        dest.writeParcelable(mCmdId, flags);
        dest.writeInt(mRetryAfter);
        dest.writeInt(mRetryAfter);
        dest.writeString(mReasonHeader);
    }
    }


    /** @hide */
    /** @hide */
@@ -168,5 +187,6 @@ public class PresSipResponse implements Parcelable {
        mReasonPhrase = source.readString();
        mReasonPhrase = source.readString();
        mCmdId = source.readParcelable(PresCmdId.class.getClassLoader());
        mCmdId = source.readParcelable(PresCmdId.class.getClassLoader());
        mRetryAfter = source.readInt();
        mRetryAfter = source.readInt();
        mReasonHeader = source.readString();
    }
    }
}
}
 No newline at end of file
+19 −0
Original line number Original line Diff line number Diff line
@@ -27,6 +27,7 @@ public class PresTupleInfo implements Parcelable {
    private String mFeatureTag = "";
    private String mFeatureTag = "";
    private String mContactUri = "";
    private String mContactUri = "";
    private String mTimestamp = "";
    private String mTimestamp = "";
    private String mVersion = "";




    /**
    /**
@@ -79,6 +80,22 @@ public class PresTupleInfo implements Parcelable {
        this.mTimestamp = timestamp;
        this.mTimestamp = timestamp;
    }
    }


    /**
     * Gets the version.
     * @hide
     */
    public String getVersion() {
        return mVersion;
    }

    /**
     * Sets the version.
     * @hide
     */
    public void setVersion(String version) {
        this.mVersion = version;
    }

    /**
    /**
     * Constructor for the PresTupleInfo class.
     * Constructor for the PresTupleInfo class.
     * @hide
     * @hide
@@ -96,6 +113,7 @@ public class PresTupleInfo implements Parcelable {
        dest.writeString(mFeatureTag);
        dest.writeString(mFeatureTag);
        dest.writeString(mContactUri);
        dest.writeString(mContactUri);
        dest.writeString(mTimestamp);
        dest.writeString(mTimestamp);
        dest.writeString(mVersion);
    }
    }


    /** @hide */
    /** @hide */
@@ -121,5 +139,6 @@ public class PresTupleInfo implements Parcelable {
        mFeatureTag = source.readString();
        mFeatureTag = source.readString();
        mContactUri = source.readString();
        mContactUri = source.readString();
        mTimestamp = source.readString();
        mTimestamp = source.readString();
        mVersion = source.readString();
    }
    }
}
}
 No newline at end of file