diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-12-28 13:29:10 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-12-28 13:29:10 +0100 |
commit | 1f49a15085d373d0de29aa6046645f690ed9b39b (patch) | |
tree | 0db86a44c883e29b943ca1b41844682a092fd333 /core | |
parent | 40408e70631d60d35770e8ea894f90f34e3606e8 (diff) | |
download | AntennaPod-1f49a15085d373d0de29aa6046645f690ed9b39b.zip |
Fixed persistent notification behavior on API < Jellybean
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |