1

An action to close apps from recents menu

Hello Taskers!

I would like to suggest a feature I use a lot:

A new action to close one or all apps open, removing from the recents menu.

I use a very cool custom ROM (Havoc) in which if I swipe up an app from the recents menu, it closes just that particular app.
If I swipe down, it closes all open apps, cleaning the recents menu completely.

I really hope more people can support my suggestion, so that we can probably see it implemented.

Thanks in advance!

RegiOween

1 reply

Discovered 2 commands to clear all recents:

service call activity_task 31

This command works for Android 10 and 11.
For some reason, the number changed from 31 to 21 in Android 12, but works as well.

This command:

activity_task.removeAllVisibleRecentTasks()

Works for Android 10, 11 and 12.

Both commands need root or adb.
Now I want to find a way to clear a specific app from recents.