diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-02-21 07:17:11 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-02-21 07:17:11 -0800 |
commit | 1c077f58b61f0e4dc7972c8fe3bdbfc242191591 (patch) | |
tree | 327bf874495080825bc4452602905adabdd29819 /src | |
parent | 5a892e29cc3cae2ccb31475afb9614927bfd4c7d (diff) | |
download | dsub-1c077f58b61f0e4dc7972c8fe3bdbfc242191591.tar.gz dsub-1c077f58b61f0e4dc7972c8fe3bdbfc242191591.tar.bz2 dsub-1c077f58b61f0e4dc7972c8fe3bdbfc242191591.zip |
Just completely revert this, can't figure out why it's giving some people trouble still
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index 01753026..6a307152 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -830,17 +830,7 @@ public class DownloadService extends Service { nextPlayingIndex++; } if (index != -1 && nextPlayingIndex < size()) { - if(nextPlaying != null && downloadList.get(nextPlayingIndex) == nextPlaying && nextPlayerState == PlayerState.PREPARED && remoteState == RemoteControlState.LOCAL) { - if(mediaPlayer.isPlaying()) { - mediaPlayer.stop(); - } - mediaPlayer.setOnErrorListener(null); - mediaPlayer.setOnCompletionListener(null); - mediaPlayer.reset(); - playNext(true); - } else { - play(nextPlayingIndex); - } + play(nextPlayingIndex); } } |