diff options
Diffstat (limited to 'core/src/main/java/de')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java index 44b673a4d..2e0cb705b 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java @@ -640,7 +640,9 @@ public class DownloadService extends Service { // If the service was run for a very short time, the system may delay closing // the notification. Set the notification text now so that a misleading message // is not left on the notification. - notificationUpdater.run(); + if (notificationUpdater != null) { + notificationUpdater.run(); + } cancelNotificationUpdater(); stopForeground(true); stopSelf(); |