From 061ad1d3147d53ccd54bc1a180200fceaaf7f3b8 Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Thu, 21 Mar 2013 09:59:30 -0700 Subject: Changed Up/Down swiping back to scrubbing --- .../src/github/daneren2005/dsub/activity/DownloadActivity.java | 5 ++--- 1 file 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; } -- cgit v1.2.3