mirror of
https://github.com/androidx/media.git
synced 2025-05-06 15:10:34 +08:00

In startTransformation method we were throwing UnsupportedEncodingException (IOException) when mediaItem with unsupported arguments is passed. Changed this to IllegalArgumentException which seems more logical here. PiperOrigin-RevId: 487259296 (cherry picked from commit 4598cc92485c149f5c613d3c926ae4493a457668)