How can i remove all apps from recent apps?

i have seen this extension

but this is only clearing my app from the recent app but i want to remove all the apps from recent apps except mine?

It’s not possible.
Android does not allow to remove other apps from recent, only system can do it.


it can be but you need to enable a additional permission for this service.

but how can i do that?