I want to make it close all the apps in here.
I've tried this already:
But it doesn't do as intended, since the apps dont leave the recents. Any ideas?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
You don't need root, but you do need to have Tasker or equivalent.
Open Tasker, create a task, select "App" and select Launch App. Select the app that you want to hide from recent list. Put a check next to "Exclude From Recent Apps". Exit out of the action to save it.
You can then either open the app using Tasker or export the task as an app. Install the app that you've created. You can now load it without it showing on the recent list.
Hope that helps!