media/libraries/test_session_current
bachinger 5528baaad9 Do not assume a valid queue in 3rd party sessions
This change fixes an issue that can be reproduced when
a controller `onConnect` creates a `QueueTimeline` out
of the state of a legacy session and then `prepare` is called.

`activeQueueItemId`, `metadata` and the `queue` of the legacy
session are used when a `QueueTimeline` is created. The change
adds unit tests to cover the different combinatoric cases these
properties being set or unset.

PiperOrigin-RevId: 505731288
(cherry picked from commit 4a9cf7d069)
2023-02-02 13:22:38 +00:00
..
src Do not assume a valid queue in 3rd party sessions 2023-02-02 13:22:38 +00:00
build.gradle Misc fix in gradle build file 2023-01-25 17:41:00 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

Session test module

Tests cross-process use of the session module. To run the tests:

  1. Prepare a device (either an emulator or a real device) to run the tests on.
  2. Run ./gradlew :test-session-current:cAT