aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-12-29 10:59:10 -0800
committerScott Jackson <daneren2005@gmail.com>2012-12-29 10:59:10 -0800
commit9c6f68cfa3eeed68dd9f50048a3c452b4cd83b7f (patch)
treeceb6e14e34d1dc9a213aafb9e76a867f9fe37757 /subsonic-android/src/github/daneren2005
parentb7fd315813a78de2778842b05d94a895365b9f1c (diff)
downloaddsub-9c6f68cfa3eeed68dd9f50048a3c452b4cd83b7f.tar.gz
dsub-9c6f68cfa3eeed68dd9f50048a3c452b4cd83b7f.tar.bz2
dsub-9c6f68cfa3eeed68dd9f50048a3c452b4cd83b7f.zip
Fixed some devices restarting at beginning
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-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 5325ee74..c44314aa 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -911,7 +911,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
Log.w(TAG, "Error on playing file " + "(" + what + ", " + extra + "): " + downloadFile);
reset();
downloadFile.setPlaying(false);
- doPlay(downloadFile, 0, true);
+ doPlay(downloadFile, cachedPosition, true);
downloadFile.setPlaying(true);
return true;
}