summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2015-05-05 15:03:26 -0700
committerJeff Tinker <jtinker@google.com>2015-05-05 15:04:01 -0700
commitfc48bf78a2dbf9c145ddaba27dbb191a9ceaf18e (patch)
treeeb8176a768713d7dd5882d9c431893db94d899b3 /media
parent1ce80dc0e21268475ae9f5d8ec8e0c114687de54 (diff)
downloadframeworks_base-fc48bf78a2dbf9c145ddaba27dbb191a9ceaf18e.zip
frameworks_base-fc48bf78a2dbf9c145ddaba27dbb191a9ceaf18e.tar.gz
frameworks_base-fc48bf78a2dbf9c145ddaba27dbb191a9ceaf18e.tar.bz2
Clarify wording of MediaCrypto exception "ERROR_NO_KEY"
related-to-bug: 20857014 Change-Id: I13204528ec44cda76a721f4d9f6021c1435921ac
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/MediaCodec.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/java/android/media/MediaCodec.java b/media/java/android/media/MediaCodec.java
index d22cfda..d47bedc 100644
--- a/media/java/android/media/MediaCodec.java
+++ b/media/java/android/media/MediaCodec.java
@@ -902,9 +902,9 @@ final public class MediaCodec {
}
/**
- * This indicates that no key has been set to perform the requested
- * decrypt operation. The operation can be retried after adding
- * a decryption key.
+ * This indicates that the requested key was not found when trying to
+ * perform a decrypt operation. The operation can be retried after adding
+ * the correct decryption key.
*/
public static final int ERROR_NO_KEY = 1;