Clarify wording of MediaCrypto exception "ERROR_NO_KEY"

related-to-bug: 20857014
Change-Id: I13204528ec44cda76a721f4d9f6021c1435921ac
This commit is contained in:
Jeff Tinker
2015-05-05 15:03:26 -07:00
parent 1ce80dc0e2
commit fc48bf78a2

View File

@@ -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;