aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-21 07:17:11 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-21 07:17:11 -0800
commit1c077f58b61f0e4dc7972c8fe3bdbfc242191591 (patch)
tree327bf874495080825bc4452602905adabdd29819 /src/github/daneren2005
parent5a892e29cc3cae2ccb31475afb9614927bfd4c7d (diff)
downloaddsub-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/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java12
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);
}
}