How can I stop a running app using package manager?

Hello there,
I'm using package manager extension to display a list of running apps. I have a challenge with stopping a given app. Is there a way? The idea is to run a background service that keeps track of app usage and automatically close it when time is up. So the background service would call a method from package manager extension, which method I couldn't figure out.
Thanks.

well, if you look carefully at the available methods you will realize, that there is no such method available

what about doing a search in the community?
for example

Taifun

1 Like