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

Some player method calls sent from MediaControllers accept int or float values with a very clear API contract that disallows some values. Filtering by these values early avoids calling a Player implementation with invalid values. PiperOrigin-RevId: 600413993 (cherry picked from commit c64b271f077939abcd33353efb50f1b0b2ca7588)
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