From a00d8b78af07231688bfb629b3ebe1dad786d684 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 2 Jan 2013 20:33:51 -0800 Subject: Always reset cachedPosition --- .../src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsonic-android') 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(); -- cgit v1.2.3