diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-07-09 08:34:33 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-07-09 08:34:33 -0700 |
commit | 9e44860e3758f9d736c63934897a5d61e4fa9e17 (patch) | |
tree | a9133a2729c90214d765bdbe09430e2a42ce331c /src | |
parent | a7ca15ba720681947dd3ed8507941e89db7c042a (diff) | |
download | dsub-9e44860e3758f9d736c63934897a5d61e4fa9e17.tar.gz dsub-9e44860e3758f9d736c63934897a5d61e4fa9e17.tar.bz2 dsub-9e44860e3758f9d736c63934897a5d61e4fa9e17.zip |
Pausing while in PAUSED_TEMP needs to set playerState
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index f28c38dc..901d0578 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -934,6 +934,8 @@ public class DownloadService extends Service { mediaPlayer.pause(); } setPlayerState(temp ? PAUSED_TEMP : PAUSED); + } else if(playerState == PAUSED_TEMP) { + setPlayerState(temp ? PAUSED_TEMP : PAUSED); } } catch (Exception x) { handleError(x); |