diff options
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index 3e3de31d..798b4541 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -959,6 +959,7 @@ public class DownloadService extends Service { if (playerState == STARTED) { if (remoteState != RemoteControlState.LOCAL) { remoteController.stop(); + setPlayerState(STOPPED); handler.post(new Runnable() { @Override public void run() { @@ -967,8 +968,8 @@ public class DownloadService extends Service { }); } else { mediaPlayer.pause(); + setPlayerState(STOPPED); } - setPlayerState(STOPPED); } else if(playerState == PAUSED) { setPlayerState(STOPPED); } |