Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 73c216d)
- Loading branch information