mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00

`Util.SDK_INT` was introduced to be able to simulate any SDK version during tests. This is possible by using Robolectric's `@Config(sdk)` annotation. All usages of `Util.SDK_INT` have been replaced by `Build.VERSION.SDK_INT`. This is a similar change to what was done in #2107.
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