Formatting
This commit is contained in:
parent
d034fc9c71
commit
7de775dc26
|
@ -40,6 +40,12 @@ class MediaNotificationProvider(context: Context) :
|
||||||
actionFactory: MediaNotification.ActionFactory
|
actionFactory: MediaNotification.ActionFactory
|
||||||
): IntArray {
|
): IntArray {
|
||||||
val tmp: MutableList<CommandButton> = mutableListOf()
|
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 {
|
val rating = mediaPlayerController.currentPlayingLegacy?.track?.starred?.let {
|
||||||
HeartRating(
|
HeartRating(
|
||||||
it
|
it
|
||||||
|
|
Loading…
Reference in New Issue