aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/activity/DownloadActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/activity/DownloadActivity.java b/src/github/daneren2005/dsub/activity/DownloadActivity.java
index fcdc69de..92a99325 100644
--- a/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -53,7 +53,7 @@ public class DownloadActivity extends SubsonicActivity {
@Override
public boolean onTouchEvent(MotionEvent me) {
- if(currentFragment != null) {
+ if(currentFragment != null && currentFragment.getGestureDetector() != null) {
return currentFragment.getGestureDetector().onTouchEvent(me);
} else {
return false;