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

Not checking it would force ExoPlayer to use the global tmp dir which would expose it to external file replacement attacks. This is a theoretical vulnerability as this code is only use in tests and cache dir always exist in the AOSP android implementation. PiperOrigin-RevId: 353013929