From 7ab6051ee7f42c9d20f15c0faf1335b9461c7170 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Thu, 15 Jan 2015 14:07:04 -0800 Subject: Fix crash if we try to reference a null remoteController --- src/github/daneren2005/dsub/service/DownloadService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } } -- cgit v1.2.3