aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-04 20:45:16 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-04 20:45:16 -0700
commit73fc8c68dc2729a9e1ee9b6b1d5a31efa8eca444 (patch)
tree7a5ae2dbf1e67aa29ffa727173fa2eba6886225e
parent5c2e1cc3449755a6db88211b6c877a8e74399cfb (diff)
downloaddsub-73fc8c68dc2729a9e1ee9b6b1d5a31efa8eca444.tar.gz
dsub-73fc8c68dc2729a9e1ee9b6b1d5a31efa8eca444.tar.bz2
dsub-73fc8c68dc2729a9e1ee9b6b1d5a31efa8eca444.zip
Reset subtract position on reset
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index 480bee7a..43eac93d 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -989,6 +989,7 @@ public class DownloadService extends Service {
mediaPlayer.setOnErrorListener(null);
mediaPlayer.setOnCompletionListener(null);
mediaPlayer.reset();
+ subtractPosition = 0;
} catch (Exception x) {
handleError(x);
}