mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

If not copied, the extras Bundle can be accidentally changed by the app if it modifies the instance passed into MediaSession. On the flip side, the Bundle should be modifiable once created so that the session can amend the extras if needed without crashing. PiperOrigin-RevId: 688485963
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