Remove from task list does not stop playing

App version: x.y.z (state whether from Google Play/F-Droid/Custom built APK)
3.6.1

Android version: 5.x (Please mention if you are using a custom rom!)
13

Device model:
Lenovo tab

Expected behaviour:
When I remove AP from task list it should stop playing.
Current behaviour:
AP continue playing. Does not exist.

First occurred: (e.g. about x days/weeks ago)
From first use

Steps to reproduce:

  1. STart AP
  2. REMOVE from task list
  3. AP does not exist, play continue.
  4. Etc.

Environment: (Settings you have changed (e.g. Auto Download). “Unusual” devices you use (e.g. Bluetooth headphones). Did you select another media player?)

Are you saying you have a chronic problem with AntennaPod not stopping when the pause button is clicked, and are therefore attempting a brute-force stop via the task list?

No, when I press tasks button and remove AP from the task list AP keeps playing.
Have to open AP again and press stop button.


Or press stop play here.

That sounds like exactly what happened when I closed the YouTube Music app without telling the app itself to stop playing. It kept playing, so I reopened the app and clicked the stop button.

Sounds like normal, standard behaviour for any audio media app.

Faund this:
So, it looks like the summary is that swiping an app out of the list will first kill all background processes for the app, then use

onTaskRemoved

to notify the app that the background task was removed. At that point it looks like it’s up to the app to decide what happens, so I guess there technically isn’t a hard-and-fast rule about what happens to the app beyond that point.

I think it is up to AP developer to take care of onTaskRemoved and close all app activity and stop playing.

Another and more complicated way to do that is to long press an app inte task list, select info and then kill.

All of my multimedia apps stops playing when I remove them from the task list.

1 Like

Multimedia yes, audio only not necessarily.

Read about task manager here:
https://stackoverflow.com/questions/39448588/what-exactly-happens-when-you-remove-a-task-from-recents