Skip to content
Snippets Groups Projects
Commit 5dfd1c18 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix regression preventing the media session to get the right time after a seek

parent a2d19bd0
Branches master
No related tags found
1 merge request!1112Fix regression preventing the media session to get the right time after a seek
Pipeline #144737 passed with stage
in 2 minutes and 39 seconds
......@@ -718,6 +718,7 @@ class PlaybackService : MediaBrowserServiceCompat(), LifecycleOwner {
fun setTime(time:Long, fast:Boolean = false) {
playlistManager.player.setTime(time, fast)
publishState(time)
}
fun getTime() = playlistManager.player.getCurrentTime()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment