aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-03-16 08:37:53 -0700
committerScott Jackson <daneren2005@gmail.com>2015-03-16 08:37:53 -0700
commita7111d92b44dbdbd35ea6152d3ce53f378bd7219 (patch)
tree848e807a25f06edfa2188dca8a36dfc9fac2f86c /src
parentde6e2b66b476b8d8b3e16c2859e4ec8aee7f8625 (diff)
downloaddsub-a7111d92b44dbdbd35ea6152d3ce53f378bd7219.tar.gz
dsub-a7111d92b44dbdbd35ea6152d3ce53f378bd7219.tar.bz2
dsub-a7111d92b44dbdbd35ea6152d3ce53f378bd7219.zip
Fix restoring not changing current index/position
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java2
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 5efa48a0..fb899ee8 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -375,6 +375,8 @@ public class DownloadService extends Service {
if (autoplay) {
play(start, true, position);
+ } else if(start != 0 || position != 0) {
+ play(start, false, position);
} else {
if (currentPlaying == null) {
currentPlaying = downloadList.get(0);