
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
Media session demo
This app demonstrates use of media sessions. It's a reference app written in Kotlin, which demonstrates best practices for media apps that want to advertise media sessions.
See the demos README for instructions on how to build and run this demo.