aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-12-05 21:35:08 -0800
committerScott Jackson <daneren2005@gmail.com>2012-12-05 21:35:08 -0800
commit5d43cf747bbaa2f9fbc50c04fbbff0bb174a67ca (patch)
tree6e590f01ed193da15743486203b3ef9a7c4be4ef /subsonic-android/src/github
parentf596288da657f695f0b7a57de714f98390788dbe (diff)
downloaddsub-5d43cf747bbaa2f9fbc50c04fbbff0bb174a67ca.tar.gz
dsub-5d43cf747bbaa2f9fbc50c04fbbff0bb174a67ca.tar.bz2
dsub-5d43cf747bbaa2f9fbc50c04fbbff0bb174a67ca.zip
Allow moving progress bar as soon as file is finished downloading
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
index 3fb87be1..abb6f6bd 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -829,7 +829,7 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
durationTextView.setText(Util.formatDuration(millisTotal / 1000));
progressBar.setMax(millisTotal == 0 ? 100 : millisTotal); // Work-around for apparent bug.
progressBar.setProgress(millisPlayed);
- progressBar.setSlidingEnabled(currentPlaying.isCompleteFileAvailable() || getDownloadService().isJukeboxEnabled());
+ progressBar.setSlidingEnabled(currentPlaying.isWorkDone() || getDownloadService().isJukeboxEnabled());
} else {
positionTextView.setText("0:00");
durationTextView.setText("-:--");