• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps back button and killBackgroundProcesses

fave_17

Lurker
Hello!

I am developing a task management project.
I retrieved the list of running applications using RunningTaskInfo.
When I tried to kill an application using activityManager.killBackgroundProcesses, the application still remains in the list. However, when I go to a running app and use the back button to exit it, it disappears from the list of RunningTaskInfo.

Can someone explain why this happens?

Thank you
 
Back
Top Bottom