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
parent ee4af48a10
commit 623be98d53

View file

@ -182,6 +182,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,