From 1c077f58b61f0e4dc7972c8fe3bdbfc242191591 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 21 Feb 2014 07:17:11 -0800 Subject: Just completely revert this, can't figure out why it's giving some people trouble still --- src/github/daneren2005/dsub/service/DownloadService.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/github/daneren2005') 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); } } -- cgit v1.2.3