Android Question getRunningTasks doesn't work in Android L

ddahan

Member
Licensed 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
Wow, it is a significant part of my app.
Is there any known reason for deprecating this function?
 

NJDude

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

ddahan

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