diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-03-19 22:51:47 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-03-19 22:51:47 -0700 |
commit | 9fee0973481c3bfbccd898143bf4cd6bef6e44a7 (patch) | |
tree | 70d611a1f48b0a1cb500ee63a047e68ce1750432 | |
parent | 2ae6f6067f89810e7a1970bd1ae1b4d2e9e93461 (diff) | |
download | dsub-9fee0973481c3bfbccd898143bf4cd6bef6e44a7.tar.gz dsub-9fee0973481c3bfbccd898143bf4cd6bef6e44a7.tar.bz2 dsub-9fee0973481c3bfbccd898143bf4cd6bef6e44a7.zip |
Fix random crash
-rw-r--r-- | src/github/daneren2005/dsub/activity/DownloadActivity.java | 2 |
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; |