
This wasn't added so far because releasing is always allowed from a MediaController (as it just releases the connection, not the session player). But Player instances can be created for other purposes and the receiver of a Player instance should not always be allowed to call release if it doesn't own the player resource. PiperOrigin-RevId: 519121122
Session test module
Tests cross-process use of the session module. To run the tests:
- Prepare a device (either an emulator or a real device) to run the tests on.
- Run
./gradlew :test-session-current:cAT