Dispatches / a short note
Do this on your phone if you have root
Just prevent your android os from killing applications overnight.
Do you have a completely satisfying amount of RAM on your Android device? And yet still experience losing your app state overnight, as it’s now missing in recents? Be it a photo editor or incognito mode in a browser?
Turns out that in AOSP defaults, you’ll only be left with 5 tasks (or one less, if to trust some reports) after 6 hours of last use. If a TikToker commits to a test by clicking each app on home screen one by one, all of these tasks will stay in recents. But if you want to go back to something from a day or two ago, it can be missing. Now you know why.
The culprit has a simple name:
config_minNumVisibleRecentTasks. It’s set to 5. Set to it to 30 and you’ll live a happier life. A tiny bit of RAM will be used to keep the task state and its visual snapshot, while the processes will still be treated exactly the same. You’ll just get to keep the state. Works best if combined with LMO’s transistor mode
source: https://t.me/TadiBlog/997