aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-03-21 09:59:30 -0700
committerdaneren2005 <daneren2005@gmail.com>2013-03-21 09:59:30 -0700
commit061ad1d3147d53ccd54bc1a180200fceaaf7f3b8 (patch)
treef9ad084be8b3c5b88c6df152cda182e28fb47296 /subsonic-android/src/github
parenta0c87a2136db0d06c9f49f02c1b36a9c07b68645 (diff)
downloaddsub-061ad1d3147d53ccd54bc1a180200fceaaf7f3b8.tar.gz
dsub-061ad1d3147d53ccd54bc1a180200fceaaf7f3b8.tar.bz2
dsub-061ad1d3147d53ccd54bc1a180200fceaaf7f3b8.zip
Changed Up/Down swiping back to scrubbing
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
index d43f13b2..7c5c9513 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -1012,7 +1012,7 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
// Top to Bottom swipe
else if (e2.getY() - e1.getY() > swipeDistance && Math.abs(velocityY) > swipeVelocity) {
warnIfNetworkOrStorageUnavailable();
- downloadService.pause();
+ downloadService.seekTo(downloadService.getPlayerPosition() + 30000);
onProgressChanged();
return true;
}
@@ -1020,8 +1020,7 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
// Bottom to Top swipe
else if (e1.getY() - e2.getY() > swipeDistance && Math.abs(velocityY) > swipeVelocity) {
warnIfNetworkOrStorageUnavailable();
- start();
- onCurrentChanged();
+ downloadService.seekTo(downloadService.getPlayerPosition() - 8000);
onProgressChanged();
return true;
}