mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00

When the controller replaces the current item, the masking position will be changed to the default position of the new item for a short while, before the correct position comes from the session. This will interrupt the current position fetched from the controller when the playback doesn't interrupted by the item replacing. Issue: androidx/media#951 PiperOrigin-RevId: 611417539 (cherry picked from commit 1bdc58de0be73c14e1b5fdffab64d69da470ffb3)
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