MediaBrowser not resuming audio but starts it from the beggining
I am building an application that includes a media browser in order to play audio tracks. Whenever I want to start an activity from a fragment wanting to display a media player showing the track already playing from the fragment, the track starts from the beginning instead of resuming playing. I haven't figured out yet why. Here is my activity code:
import android.content.ComponentName
import android.net.Uri
import android.os.Bundle
import android.support.v4.media.MediaBrowserCompat
import...