aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-03-19 22:51:47 -0700
committerScott Jackson <daneren2005@gmail.com>2014-03-19 22:51:47 -0700
commit9fee0973481c3bfbccd898143bf4cd6bef6e44a7 (patch)
tree70d611a1f48b0a1cb500ee63a047e68ce1750432 /src/github/daneren2005
parent2ae6f6067f89810e7a1970bd1ae1b4d2e9e93461 (diff)
downloaddsub-9fee0973481c3bfbccd898143bf4cd6bef6e44a7.tar.gz
dsub-9fee0973481c3bfbccd898143bf4cd6bef6e44a7.tar.bz2
dsub-9fee0973481c3bfbccd898143bf4cd6bef6e44a7.zip
Fix random crash
Diffstat (limited to 'src/github/daneren2005')
-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;