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

Commit cc245716 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Remove documentation restriction that SipMessage body is UTF-8 encoded,...

Merge "Remove documentation restriction that SipMessage body is UTF-8 encoded, as it can have many mixed encodings depending on the content."
parents deede439 8446a5be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ public final class SipMessage implements Parcelable {
     * @param startLine The start line of the message, containing either the request-line or
     *                  status-line.
     * @param headerSection A String containing the full unencoded SIP message header.
     * @param content UTF-8 encoded SIP message body.
     * @param content SIP message body.
     */
    public SipMessage(@NonNull String startLine, @NonNull String headerSection,
            @NonNull byte[] content) {
@@ -105,7 +105,7 @@ public final class SipMessage implements Parcelable {
    }

    /**
     * @return only the UTF-8 encoded SIP message body.
     * @return the SIP message body.
     */
    public @NonNull byte[] getContent() {
        return mContent;