When can onTaskRemoved() be called?
The docs state that This is called if the service is currently running and the user has removed a task that comes from the service's application. It seems as if it is only called when the app is swiped away from the recent task list. Pressing the back button until all Activities are destroyed in the task does not cause this to be called. Are there other scenarios where this could be called? Pressing the back button until all Activities are destroyed in the task does not cause this to be called. Finishing Activities by pressing the back button doesn't mean that running services and the