diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-03-23 17:34:14 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-03-23 17:34:14 -0700 |
commit | d04e9845a096a6c052c93688d6f250e6f60b4599 (patch) | |
tree | ef3789084da150f92ff02cce2617001bdafd22ab /subsonic-android | |
parent | 81b38b3cb466dcdb9af669fff1886ce83caa16a7 (diff) | |
download | dsub-d04e9845a096a6c052c93688d6f250e6f60b4599.tar.gz dsub-d04e9845a096a6c052c93688d6f250e6f60b4599.tar.bz2 dsub-d04e9845a096a6c052c93688d6f250e6f60b4599.zip |
Fix visualizer causing ANR in DownloadActivity.onPause
Diffstat (limited to 'subsonic-android')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java index 7c5c9513..735bf98f 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java @@ -512,7 +512,7 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi protected void onPause() { super.onPause(); executorService.shutdown(); - if (visualizerView != null) { + if (visualizerView != null && visualizerView.isActive()) { visualizerView.setActive(false); } } |