mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-01 19:26:46 +01:00
b5c63db0e9
When we called stopForeground(), the service went to background state. If we then somehow receive a second intent to onStartCommand (without onCreate), we assume that the service already is in foreground, what is wrong. This commit moves the service to foreground in onStartCommand if it is no longer in foreground.