Suppress lint warning about IntDef assignment.

The values returned by the framework method are equivalent to the local IntDef values.

PiperOrigin-RevId: 407048748
This commit is contained in:
tonihei 2021-11-02 11:28:50 +00:00 committed by Ian Baker
parent 72f56760bb
commit cb86a8af49

View File

@ -185,6 +185,8 @@ public final class FrameworkMediaDrm implements ExoMediaDrm {
mediaDrm.closeSession(sessionId);
}
// Return values of MediaDrm.KeyRequest.getRequestType are equal to KeyRequest.RequestType.
@SuppressLint("WrongConstant")
@Override
public KeyRequest getKeyRequest(
byte[] scope,