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

Commit 766dc23b authored by Jeff Tinker's avatar Jeff Tinker Committed by Android Git Automerger
Browse files

am 3eeac344: Merge "Implement API review feedback." into lmp-dev

* commit '3eeac344b1aedf116b2340f3028f2cbaf34945d1':
  Implement API review feedback.
parents c436d5b7 f7efd5c6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -14832,7 +14832,6 @@ package android.media {
  }
  public static final class MediaDrm.MediaDrmStateException extends java.lang.IllegalStateException {
    ctor public MediaDrm.MediaDrmStateException(int, java.lang.String);
    method public java.lang.String getDiagnosticInfo();
  }
+4 −4
Original line number Diff line number Diff line
@@ -709,10 +709,10 @@ final public class MediaCodec {
        }

        /**
         * Retrieve a human readable diagnostic information string
         * associated with the exception. DO NOT SHOW THIS TO END-USERS!
         * This string will not be localized or generally comprehensible
         * to end-users.
         * Retrieve a developer-readable diagnostic information string
         * associated with the exception. Do not show this to end-users,
         * since this string will not be localized or generally
         * comprehensible to end-users.
         */
        public String getDiagnosticInfo() {
            return mDiagnosticInfo;
+6 −3
Original line number Diff line number Diff line
@@ -190,6 +190,9 @@ public final class MediaDrm {
        private final int mErrorCode;
        private final String mDiagnosticInfo;

        /**
         * @hide
         */
        public MediaDrmStateException(int errorCode, String detailMessage) {
            super(detailMessage);
            mErrorCode = errorCode;
@@ -211,9 +214,9 @@ public final class MediaDrm {
        }

        /**
         * Retrieve a human readable diagnostic information string
         * associated with the exception. DO NOT SHOW THIS TO END-USERS!
         * This string will not be localized or generally comprehensible
         * Retrieve a developer-readable diagnostic information string
         * associated with the exception. Do not show this to end-users,
         * since this string will not be localized or generally comprehensible
         * to end-users.
         */
        public String getDiagnosticInfo() {