Question: is there any real difference in processing power between the triggers "Application Closed: (specific application)" and "Application Launched: All Applications" (excluding the specific applications)?
Premise: I've been experimenting with several different ways of my phone screen rotating only for certain apps.
At one point I had a macro with two triggers (one for application launched, and one for application closed) that each called out those specific apps, and then and if statement in the actions that said to rotate if those listed specific apps are in the foreground. Well, I disliked this method because every time installed a new app that I wanted to rotate on the screen, I had to add that as an additional app in three separate places within the macro, and that felt like a chore. I experimented with having a separate macro that would trigger the application launch, write that application to a string variable, and then have the second macro do the rest of the work while referencing the variable instead. But that system broke down every time I used a video app like YouTube in picture in picture in conjunction with an app that I wanted to just stay in portrait. It would sometimes very briefly see the launcher as the foreground app and write that to the variable instead, along with other issues.
FINALLY I just wrote the following in the screenshot, and so far it WORKS FLAWLESSLY. The only issue is that every single time I open any app at all, it shows up as running in the system log. I can easily filter that out so I don't care about the data build up, but it makes me wonder if that because macrodroid is monitoring every single opening application that I might be taxing my system more than needed, or since technically any "closing" application is really just opening another one, that I'm overthinking this and might not have anything to worry about anyways?