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

Commit cf7bd0f8 authored by Rahul Frias's avatar Rahul Frias Committed by android-build-merger
Browse files

Merge "Clarified app behavior on REQUEST_TYPE_NONE" into pi-dev am: 1b7162ad

am: 02c78818

Change-Id: I7c553068bc702f822006e0445e5e0e35dc7db157
parents 9b1b4d1b 02c78818
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -705,7 +705,9 @@ public final class MediaDrm implements AutoCloseable {
    public @interface KeyType {}

    /**
     * Contains the opaque data an app uses to request keys from a license server
     * Contains the opaque data an app uses to request keys from a license server.
     * These request types may or may not be generated by a given plugin. Refer
     * to plugin vendor documentation for more information.
     */
    public static final class KeyRequest {
        private byte[] mData;
@@ -730,8 +732,8 @@ public final class MediaDrm implements AutoCloseable {
        public static final int REQUEST_TYPE_RELEASE = 2;

        /**
         * Keys are already loaded. No license request is necessary, and no
         * key request data is returned.
         * Keys are already loaded and are available for use. No license request is necessary, and
         * no key request data is returned.
         */
        public static final int REQUEST_TYPE_NONE = 3;