CloseSingleActivity: This block will close activity of given package name of app
Event Block : SingleActivityClosed: This block will trigger when single activity closed
CloseAllActivity: This block will close all apps activity at once. This will take time because depend on user device. Like more number of activity will take more time
Event Block : AllActivityClosed: This block will trigger when all activity is closed
Event Block : OnError: if any error occurs this block will trigger
@Xoma it does not kill the background and foreground running apps. This only kill the process from ram to reclaim memory. killed processes can be restart if needed by app.
Which process? You mean the apps? (I’m not sure)
And the permission:
The above permission is for system apps to control the background processes, as far as I know, only system apps can do that. Android strictly doesn’t allow you to kill any process.