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

Commit 1db9c414 authored by Jeff Tinker's avatar Jeff Tinker Committed by Android Git Automerger
Browse files

am 96534140: am e05de24f: am 2596d6de: Merge "Document retry behavior for...

am 96534140: am e05de24f: am 2596d6de: Merge "Document retry behavior for MediaCodec.CryptoException" into lmp-dev

* commit '9653414015e185787a475bebcc5a99063b9dd54b':
  Document retry behavior for MediaCodec.CryptoException
parents 5a252673 a1f08c7c
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -738,19 +738,22 @@ final public class MediaCodec {

        /**
         * This indicates that no key has been set to perform the requested
         * decrypt operation.
         * decrypt operation.  The operation can be retried after adding
         * a decryption key.
         */
        public static final int ERROR_NO_KEY = 1;

        /**
         * This indicates that the key used for decryption is no longer
         * valid due to license term expiration.
         * valid due to license term expiration.  The operation can be retried
         * after updating the expired keys.
         */
        public static final int ERROR_KEY_EXPIRED = 2;

        /**
         * This indicates that a required crypto resource was not able to be
         * allocated while attempting the requested operation.
         * allocated while attempting the requested operation.  The operation
         * can be retried if the app is able to release resources.
         */
        public static final int ERROR_RESOURCE_BUSY = 3;