Formatting

This commit is contained in:
tzugen 2022-07-05 18:38:26 +02:00
parent d034fc9c71
commit 7de775dc26
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
2 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,12 @@ class MediaNotificationProvider(context: Context) :
actionFactory: MediaNotification.ActionFactory
): IntArray {
val tmp: MutableList<CommandButton> = mutableListOf()
/*
* TODO:
* It is currently not possible to edit a MediaItem after creation so the isRated value
* is stored in the track.starred value
* See https://github.com/androidx/media/issues/33
*/
val rating = mediaPlayerController.currentPlayingLegacy?.track?.starred?.let {
HeartRating(
it