From 1f49a15085d373d0de29aa6046645f690ed9b39b Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Sun, 28 Dec 2014 13:29:10 +0100 Subject: Fixed persistent notification behavior on API < Jellybean --- .../de/danoeh/antennapod/core/service/playback/PlaybackService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index b3777961b..064baae75 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -423,7 +423,7 @@ public class PlaybackService extends Service { // do not remove notification on pause based on user pref and whether android version supports expanded notifications // Change [Play] button to [Pause] setupNotification(newInfo); - } else { + } else if (!UserPreferences.isPersistNotify()) { // remove notifcation on pause stopForeground(true); } -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0