OSDN Git Service

Implement API review feedback.
authorJeff Tinker <jtinker@google.com>
Mon, 22 Sep 2014 22:43:27 +0000 (15:43 -0700)
committerJeff Tinker <jtinker@google.com>
Tue, 23 Sep 2014 01:35:41 +0000 (01:35 +0000)
bug: 17607941
Change-Id: I136b5d7662a1c51395aa3cd545be40714cd4ac6b

api/current.txt
media/java/android/media/MediaCodec.java
media/java/android/media/MediaDrm.java

index 2cd1708..ede1b36 100644 (file)
@@ -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();
   }
 
index 2ef9289..5fb4f12 100644 (file)
@@ -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;
index 1490732..3b8cb19 100644 (file)
@@ -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() {