diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-01-15 14:07:04 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-01-15 14:07:04 -0800 |
commit | 7ab6051ee7f42c9d20f15c0faf1335b9461c7170 (patch) | |
tree | 2bed90277f69ad7c4b9ca03b20367537c3fcc01b /src | |
parent | fcc47d9aaf6694fa4e3a489d459c7f24a1580cdc (diff) | |
download | dsub-7ab6051ee7f42c9d20f15c0faf1335b9461c7170.tar.gz dsub-7ab6051ee7f42c9d20f15c0faf1335b9461c7170.tar.bz2 dsub-7ab6051ee7f42c9d20f15c0faf1335b9461c7170.zip |
Fix crash if we try to reference a null remoteController
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index df780df5..29fb00b2 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -407,7 +407,7 @@ public class DownloadService extends Service { } private void updateJukeboxPlaylist() { - if (remoteState != LOCAL) { + if (remoteState != LOCAL && remoteController != null) { remoteController.updatePlaylist(); } } |