
This aligns the equivalent implementation in `MockMediaSessionService`, and it looks more correct to me - but the tests seem to pass both with and without this change (and it doesn't seem to affect flakiness either). PiperOrigin-RevId: 564689493
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