mirror of
https://github.com/androidx/media.git
synced 2025-05-16 12:09:50 +08:00

The app is able to pass a more specialized array type, so the Arrays.copyOf call produces an array into which it's not valid to store arbitrary AudioProcessors. Create a new array and copy into it to avoid this problem. PiperOrigin-RevId: 264779164