Fixed persistent notification behavior on API < Jellybean

This commit is contained in:
daniel oeh 2014-12-28 13:29:10 +01:00
parent 40408e7063
commit 1f49a15085

View File

@ -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 // do not remove notification on pause based on user pref and whether android version supports expanded notifications
// Change [Play] button to [Pause] // Change [Play] button to [Pause]
setupNotification(newInfo); setupNotification(newInfo);
} else { } else if (!UserPreferences.isPersistNotify()) {
// remove notifcation on pause // remove notifcation on pause
stopForeground(true); stopForeground(true);
} }