diff options
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index 93b9ef66..335e7812 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -1338,11 +1338,6 @@ public class DownloadService extends Service { if(nextMediaPlayer != null) { nextMediaPlayer.setOnCompletionListener(null); nextMediaPlayer.setOnErrorListener(null); - try { - nextMediaPlayer.setNextMediaPlayer(null); - } catch(Exception e) { - // Don't care - } nextMediaPlayer.reset(); nextMediaPlayer.release(); nextMediaPlayer = null; @@ -1360,11 +1355,6 @@ public class DownloadService extends Service { } catch(Throwable e) { nextMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); } - try { - nextMediaPlayer.setNextMediaPlayer(null); - } catch(Exception e) { - // Don't care - } nextMediaPlayer.setDataSource(file.getPath()); setNextPlayerState(PREPARING); |