aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-01-02 20:33:51 -0800
committerScott Jackson <daneren2005@gmail.com>2013-01-02 20:33:51 -0800
commita00d8b78af07231688bfb629b3ebe1dad786d684 (patch)
tree2354bc698f0b10ccce0354bdf535abc02f07bdf8 /subsonic-android/src
parent878f1d58b9800ef3c1bbf1af9970cbb2e36da8a8 (diff)
downloaddsub-a00d8b78af07231688bfb629b3ebe1dad786d684.tar.gz
dsub-a00d8b78af07231688bfb629b3ebe1dad786d684.tar.bz2
dsub-a00d8b78af07231688bfb629b3ebe1dad786d684.zip
Always reset cachedPosition
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index 1f89ea4b..984d0cc9 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -840,8 +840,8 @@ public class DownloadServiceImpl extends Service implements DownloadService {
if (position != 0) {
Log.i(TAG, "Restarting player from position " + position);
mediaPlayer.seekTo(position);
- cachedPosition = position;
}
+ cachedPosition = position;
if (start) {
mediaPlayer.start();