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

This avoids that these settings have to be resolved inline, potentially blocking the main thread. They can be resolved at the time of track selection on a background thread instead. As a side effect, we can also remove the context parameter from the Builder. Having the Context in the Builder is also a bad sign in the first place because it implies the potentially blocking calls can happen. PiperOrigin-RevId: 720523139
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