I am trying to remove all recent tasks through a program. Before posting a question, I googled it, but no luck at all.
I tried to use ActivityManager.killBackg
ActivityManager.killBackg
REMOVE_TASKS is a signature-level permission. It can only be held by apps written by the developers of the device firmware, such as a device manufacturer or ROM mod author.
REMOVE_TASKS
signature