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
1 changed files with 1 additions and 1 deletions

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
// Change [Play] button to [Pause]
setupNotification(newInfo);
} else {
} else if (!UserPreferences.isPersistNotify()) {
// remove notifcation on pause
stopForeground(true);
}