Fixed persistent notification behavior on API < Jellybean
This commit is contained in:
parent
40408e7063
commit
1f49a15085
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue