music: fix crash on browser child load
This commit is contained in:
parent
2bc4ed020b
commit
4e4a99bbf3
1 changed files with 3 additions and 8 deletions
|
@ -94,14 +94,9 @@ class AuxioService :
|
|||
musicFragment.getItem(itemId, result)
|
||||
}
|
||||
|
||||
override fun onLoadChildren(parentId: String, result: Result<MutableList<MediaItem>>) =
|
||||
throw NotImplementedError()
|
||||
|
||||
override fun onLoadChildren(
|
||||
parentId: String,
|
||||
result: Result<MutableList<MediaItem>>,
|
||||
options: Bundle
|
||||
) = musicFragment.getChildren(parentId, result)
|
||||
override fun onLoadChildren(parentId: String, result: Result<MutableList<MediaItem>>) {
|
||||
musicFragment.getChildren(parentId, result)
|
||||
}
|
||||
|
||||
override fun onSearch(query: String, extras: Bundle?, result: Result<MutableList<MediaItem>>) {
|
||||
musicFragment.search(query, result)
|
||||
|
|
Loading…
Reference in a new issue