mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The result is plumbed back to `MediaCodecRenderer` via a new `DrmSession#requiresSecureDecoder` method. This allows us to use the `MediaDrm#requiresSecureDecoder` method added in Android 12: https://developer.android.com/reference/android/media/MediaDrm#requiresSecureDecoder(java.lang.String) This change also removes `FrameworkMediaCrypto#forceAllowInsecureDecoderComponents`, replacing it with equivalent logic in `FrameworkMediaDrm#requiresSecureDecoder`. PiperOrigin-RevId: 389616038