Skip to content

Commit

Permalink
all: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
OxygenCobalt committed Sep 17, 2024
1 parent ff00265 commit 5e44544
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,12 @@

package org.oxycblt.auxio.music.service

import android.annotation.SuppressLint
import android.content.Context
import android.graphics.BitmapFactory
import android.os.Bundle
import android.support.v4.media.MediaBrowserCompat.MediaItem
import android.support.v4.media.MediaDescriptionCompat
import android.view.MenuInflater
import androidx.annotation.MenuRes
import androidx.annotation.StringRes
import androidx.appcompat.view.menu.MenuBuilder
import androidx.core.view.children
import androidx.media.utils.MediaConstants
import org.oxycblt.auxio.BuildConfig
import org.oxycblt.auxio.R
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import android.os.Bundle
import android.support.v4.media.MediaBrowserCompat.MediaItem
import androidx.media.MediaBrowserServiceCompat.BrowserRoot
import androidx.media.MediaBrowserServiceCompat.Result
import androidx.media.utils.MediaConstants
import javax.inject.Inject
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
Expand Down Expand Up @@ -96,9 +95,7 @@ constructor(
}

fun getRoot(maxItems: Int) =
BrowserRoot(
MediaSessionUID.Tab(TabNode.Root(maxItems)).toString(),
Bundle())
BrowserRoot(MediaSessionUID.Tab(TabNode.Root(maxItems)).toString(), Bundle())

fun getItem(mediaId: String, result: Result<MediaItem>) =
result.dispatch { musicBrowser.getItem(mediaId) }
Expand Down

0 comments on commit 5e44544

Please sign in to comment.