aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-04-02 07:23:59 -0700
committerScott Jackson <daneren2005@gmail.com>2014-04-02 07:23:59 -0700
commit1b6e575c91215cabb921f44cb87df88afcc93aa8 (patch)
tree0a74de8539d0ebf40c86a833d5272dbb4c695fac /src/github/daneren2005
parent8fe9c77d25a459e076d01e1f82d6081d657bb99b (diff)
downloaddsub-1b6e575c91215cabb921f44cb87df88afcc93aa8.tar.gz
dsub-1b6e575c91215cabb921f44cb87df88afcc93aa8.tar.bz2
dsub-1b6e575c91215cabb921f44cb87df88afcc93aa8.zip
Remove, caused other issues
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java10
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);