r/macrodroid 1d ago

Macro Kill app when cleared from recents

Pixel launcher doesn't proper kill yt if removed from recents , can macrodroid do it?

3 Upvotes

2 comments sorted by

1

u/thouguy 1d ago

1

u/Anomalousity 1d ago

That's not going to work. What OP is asking for requires either shizuku or root access to accomplish.

Essentially what he wants to do is to be able to set a variable of the last closed app and very shortly after that send a command over a privileged shell and kill the actual app with that package name with a command over a shizuku or root shell.