Open pyricau opened 2 years ago
The scenario to reproduce this is likely to have a first activity that finishes itself from onResume() instead of from onCreate() as apps should do. As a result, we get back to 0 resumed activity and when the next one comes in we count this as a warm start.
I don't if this means a frame will be displayed in the meantime. That might be happening
Should play around with Android to see if there's a way to detect this use case. Activities finishing themselves and starting another one is async by nature (IPC to system_server), it's only sync when done in onCreate() I think.
Quotes from someone reaching out:
when you tap the app icon, that launches an activity, which then .. finishes itself and launches another activity?