Update MediaNotificationProvider.kt

This commit is contained in:
birdbird 2022-07-05 18:18:02 +02:00 committed by GitHub
parent aa6c037b20
commit 05ada9297d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ class MediaNotificationProvider(context: Context) :
/*
* It is currently not possible to edit a MediaItem after creation so the isRated value
* is stored in the track.starred value
* is stored in the track.starred value. See https://github.com/androidx/media/issues/33
* TODO: Once the bug is fixed remove this circular reference!
*/
private val mediaPlayerController by inject<MediaPlayerController>()