media/libraries/test_session_current/src/main
tonihei 342be88d81 Improve playlist operation behavior of session test MockPlayer
The MockPlayer currently:
 - uses separate fields for single mediaItem vs multiple mediaItems
 - replaces all items on addMediaItem operations
 - does nothing on remove/move operations.

Fix all of this by using a single field that replicates the player
operations directly.

Some tests also need to be updated to make them more realistic
(for example only removing items from a playlist that have
previously been added).

PiperOrigin-RevId: 451857271
2022-05-30 16:47:44 +00:00
..
java/androidx/media3/session Improve playlist operation behavior of session test MockPlayer 2022-05-30 16:47:44 +00:00
AndroidManifest.xml MediaSessionService: define foregroundServiceType 2022-05-10 17:49:22 +01:00