media/libraries/exoplayer/src
ibaker 0b86f89498 Guard DrmSession.requiresSecureDecoder calls with state checks
This method is documented that it may only be called in `STATE_OPENED`
or `STATE_OPENED_WITH_KEYS`. It's possible for it to be called in other
states (like `STATE_ERROR`) without this guard.

Previously this didn't cause issues, but since 9d62845c45
we assume that the `sessionId` is non-null in this method, which results
in an `IllegalStateException` when the documented state restriction is
ignored.

PiperOrigin-RevId: 675969256
2024-09-18 06:41:32 -07:00
..
androidTest Make StreamVolumeManager take streamType in constructor 2024-09-10 08:05:21 -07:00
main Guard DrmSession.requiresSecureDecoder calls with state checks 2024-09-18 06:41:32 -07:00
test Add suitable output checker tests relevant for API 35+ in ExoPlayerTest 2024-09-17 06:45:15 -07:00