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
|
// 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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user