diff --git a/app/src/main/java/org/scottishtecharmy/soundscape/services/SoundscapeService.kt b/app/src/main/java/org/scottishtecharmy/soundscape/services/SoundscapeService.kt index 6c23fc14..5d66b497 100644 --- a/app/src/main/java/org/scottishtecharmy/soundscape/services/SoundscapeService.kt +++ b/app/src/main/java/org/scottishtecharmy/soundscape/services/SoundscapeService.kt @@ -178,6 +178,9 @@ class SoundscapeService : MediaSessionService() { } } + override fun onTaskRemoved(rootIntent: Intent?) { + Log.d(TAG, "onTaskRemoved for service - ignoring, as we want to keep running") + } override fun onDestroy() { // If _mediaSession is not null, run the following block mediaSession?.run {