
This change also marks the buttons of the custom layout as enabled/disabled according to available commands in the controller. Accordingly, `CommandButton.Builder.setEnabled(boolean)` is deprecated because the value is overridden by the library. Issue: androidx/media#38 #minor-release PiperOrigin-RevId: 547272588
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.