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

Since Kotlin 2.0 the compiler became better at detecting incorrect annotation applications. The @OptIn annotation can't be applied to an expression, so when compiling with Kotlin 2.0 it results in an error. PiperOrigin-RevId: 604596657 (cherry picked from commit 718cf1299b805339b605bf268fce0ad9158c44f5)