diff options
author | Jeff Tinker <jtinker@google.com> | 2014-09-22 15:43:27 -0700 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2014-09-23 01:35:41 +0000 |
commit | 21069d1914ae7ef07e3edf6bea435e7569f28d64 (patch) | |
tree | 276b97f147a6f35c385861d0bf35cdd36a107f02 | |
parent | fee7ad16191bb0fb7f09648cb2e00cda97c020b6 (diff) | |
download | frameworks_base-21069d1914ae7ef07e3edf6bea435e7569f28d64.zip frameworks_base-21069d1914ae7ef07e3edf6bea435e7569f28d64.tar.gz frameworks_base-21069d1914ae7ef07e3edf6bea435e7569f28d64.tar.bz2 |
Implement API review feedback.
bug: 17607941
Change-Id: I136b5d7662a1c51395aa3cd545be40714cd4ac6b
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | media/java/android/media/MediaCodec.java | 8 | ||||
-rw-r--r-- | media/java/android/media/MediaDrm.java | 9 |
3 files changed, 10 insertions, 8 deletions
diff --git a/api/current.txt b/api/current.txt index 2cd1708..ede1b36 100644 --- a/api/current.txt +++ b/api/current.txt @@ -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(); } diff --git a/media/java/android/media/MediaCodec.java b/media/java/android/media/MediaCodec.java index 2ef9289..5fb4f12 100644 --- a/media/java/android/media/MediaCodec.java +++ b/media/java/android/media/MediaCodec.java @@ -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; diff --git a/media/java/android/media/MediaDrm.java b/media/java/android/media/MediaDrm.java index 1490732..3b8cb19 100644 --- a/media/java/android/media/MediaDrm.java +++ b/media/java/android/media/MediaDrm.java @@ -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() { |