Launching apps manually kills already running apps launched with "exclude from recents"

kamil180999

New member
Hello, love the microdroid app!

I've got a problem when launching apps. I want microdroid to start, let's say, spotify with the option "exclude from recents". I trigger the macro, the app launches and plays music, so it works. However when I next launch any other app (which was not opened before. However, including microdroid) manually, by hand, spotify suddenly closes. Has anyone encountered similar problem recently?

Microdroid logs' last entry is the launching of spotify action.IMG_20221226_230909.jpg
 
Last edited:

FrameXX

Well-known member
I don't know why you need to use the "exclude from recents" option, but my guess on this is that xiaomi miui tryes to strictly save battery as it always does and forces the app to close after it's no longer in foreground. Since the app was launched as "excluded from recents" miui understands it as more low priority service and has less problem force closing the app after it's left by the user. This is weird, because if spotify already started playing media with persistent notification appearing in notification bar it shouldn't be stopped by system so easily, but since this is miui I'm not surprised. Does the problem retain if you don't use the option to "exclude from recents"?
 

kamil180999

New member
If I disable that option everything works fine, except those apps still persisting in recent apps when killed, so working kind of as expected. I want to use that option because I don't want apps to appear there after being killed. Maybe there's an adb command to fix it?

PS. To clear out, apps launched as excluded from recents work great all the time until I click another app. New app launches, then "refreshes" itself. And during that "refresh" those excluded apps close.

Btw. is there a way to modify geofences by macros? I would like to save my location everytime I leave my car and activate a macro when I'm near it later
 
Last edited:
Top