Added a test-only method to clear the clearDecoderInfosCache.
The cache, being static, is updated every time a new MimeType is encountered. The static cache needs to be cleared between tests that register codecs through ShadowMediaCodec, or the subsequent tests could possibly pick up a wrong codec. PiperOrigin-RevId: 351576018
Showing
with
23 additions
and
1 deletions
Please
register
or
sign in
to comment