Add stubs for CryptoInfo fields.
See https://developer.android.com/reference/android/media/MediaCodec.CryptoInfo#numBytesOfClearData. Both values are allowed to be null. PiperOrigin-RevId: 319038124
This commit is contained in:
parent
0a2bacb7b7
commit
0be98e2b79
@ -292,6 +292,8 @@ class AsynchronousMediaCodecBufferEnqueuer implements MediaCodecInputBufferEnque
|
||||
}
|
||||
|
||||
/** Performs a deep copy of {@code cryptoInfo} to {@code frameworkCryptoInfo}. */
|
||||
// TODO: Remove suppression [internal b/78934030].
|
||||
@SuppressWarnings("nullness:argument.type.incompatible")
|
||||
private static void copy(
|
||||
CryptoInfo cryptoInfo, android.media.MediaCodec.CryptoInfo frameworkCryptoInfo) {
|
||||
// Update frameworkCryptoInfo fields directly because CryptoInfo.set performs an unnecessary
|
||||
|
Loading…
x
Reference in New Issue
Block a user