Skip to content

Commit

Permalink
Update MediaControllerViewModel.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 authored Nov 1, 2024
1 parent 8299598 commit 2d0e7b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class MediaControllerViewModel(application: Application) : AndroidViewModel(appl
future.get().resultCode == SessionResult.RESULT_ERROR_NOT_SUPPORTED))) {
future = listenerIterator.next()(controller, command, args)
}
return future
return future ?: super.onCustomCommand(controller, command, args)
}

private class LifecycleHost : LifecycleOwner {
Expand Down

0 comments on commit 2d0e7b7

Please sign in to comment.