Commit bce9ebe5 authored by Geoffrey Métais's avatar Geoffrey Métais

Revert "Thread mediaplayer restarting"

This reverts commit 67078588.
parent 09894288
......@@ -2527,14 +2527,8 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
public void restartMediaPlayer() {
stop();
// Thread restart while MediaPlayer.stop() is threaded.
VLCApplication.runBackground(new Runnable() {
@Override
public void run() {
mMediaPlayer.release();
mMediaPlayer = newMediaPlayer();
}
});
mMediaPlayer.release();
mMediaPlayer = newMediaPlayer();
/* TODO RESUME */
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment