4 ms·
A foreground service needs to display a notification. Not really an issue for Spotify since media apps want to display the media notification anyway. For othe
by on_and_off 9y ago
A foreground service needs to display a notification.
Not really an issue for Spotify since media apps want to display the media notification anyway.
For other apps, the idea is that foreground services should be visible to the user.
One of the reasons would be this very capability to access sensors.
Another difference between foreground and background is that a background service is eligible to be killed on low memory events.