tonihei fa972d9c1f Fix thread access when creating notifications for media sessions
The sessions may have different application threads for their players,
and the service with its notification provider runs on the main thread.
To ensure everything runs on the correct thread, this change labels
methods where needed and fixes thread access in some places.

Issue: androidx/media#318
PiperOrigin-RevId: 524849598
(cherry picked from commit ffa3743069408cf794cd48e8608df749e09d719e)
2023-04-18 17:05:28 +01:00
..
2023-03-14 16:19:20 +00:00

Test utils module

Provides utility classes for media unit and instrumentation tests.