Android Question getRunningTasks doesn't work in Android L

ddahan

Member
Licensed User
Longtime User
Hi,
I'm using getRunningTasks to get running apps. I noticed that this function is not working on Lollipop devices.
I also tried ActivityManager lib but got the same.
There are reports in the internet that getRunningTasks is now deprecated in Android L.
I could not figure out any alternative solution.
I'll appreciate any idea.

thanks,
David.
 

ddahan

Member
Licensed User
Longtime User
Wow, it is a significant part of my app.
Is there any known reason for deprecating this function?
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
Google deprecates stuff based on security and functionality, and other times just because they can.
 
Upvote 0

ddahan

Member
Licensed User
Longtime User
Thanks for replying.
The proposed new usage stats service may be good approach for my needs.
 
Upvote 0
Top