Recent apps frequently have to reload when switching back to them
<!-- INSTRUCTIONS
What not to report
- Bugs in unofficial builds or anything not downloaded from our official portal
- Missing Builds
- Problems with the website
- Asking for device support
- Feature requests
If you need help please see https://www.lineageos.org/community/
Anything between <!- - and - -> won't be shown when your issue is created.
-->
## Expected Behavior
<!--- Tell us what should happen -->
On version 23.0, when you switched away from an app (leaving it open) for about a minute and then returned, it used to restore itself much faster, without any loading screen.
## Current Behavior
<!--- Tell us what happens instead of the expected behavior -->
After upgrading to 23.2, apps appear to go through a lengthy reload when switching away for a minute and then coming back to them. They often display a loading screen and appear to re-render the UI, like a webpage being reloaded.
What's worse: some apps lose their state. For example, both my password manager (Password Store) and my TOTP app (Aegis) have a grace period through which they remember the decryption password so you don't have to type it again while the screen is unlocked. What often happens is that I open the password manager, copy some credential, switch to another app for less than a minute, and when I come back to copy another credential, the app goes through a loading screen and I have to type the password again.
I'm including a [link to the logcat](https://drive.google.com/file/d/18LPNRX6C3i48dvyjoiiBAujBC2zTulSi/view?usp=sharing) and a screen recording demonstrating the problem.
{width=270 height=600}
## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1. Open two or three apps, and switch to one of them.
2. Stay on that app for a while (from 30 seconds to 1 minute) and keep the screen from locking — by interacting with it.
3. Switch back to any of the other apps you've opened, and watch how they're restored.
Then repeat the same instructions, but skip step 2 — don't wait. Apps should be restored quickly, without reloading or losing state. I've made a screen recording of the expected behavior:
{width=270 height=600}
<!-- THIS SECTION IS MANDATORY. If it is not filled out correctly, your issue will be marked as invalid. -->
<!-- Example:
/device mako (found at https://wiki.lineageos.org/devices/)
/version lineage-15.1
/date 2017-12-15
/kernel
/baseband
/mods Google Apps, F-Droid
-->
/device devon (found at https://wiki.lineageos.org/devices/devon/)
/version 23.2-20260208-NIGHTLY-devon
/date Sun Feb 8 14:05:31 UTC 2026
/kernel 4.19.325-cip128-st12-perf-g3992a4d88db2 (`#1 Sun Feb 8 16:46:48 UTC 2026`)
/baseband HAK11_15.154.01.90R
/mods F-Droid (not a system app) and microG (from their F-Droid repository; also not a system app)
<!-- Replace the following line with "I have read the directions" -->
I have read the directions.
issue