As per the official Android documentation : Cold Start - "in cases such as your app’s being launched for the first time since the device booted, or since the system killed the app"
Warm Start - "The system evicts your app from memory, and then the user re-launches it.
Consider below scenario:
App A is running -> Press Home Button (App goes to background) -> Now work on other apps -> System detects memory crunch and kills app A to reclaim some memory -> Now relaunch the App A (from recent apps or launch icon)
Now is this Warm Start or Cold start ? As per the documentation of cold start - It looks cold start as the app is launched for the first time after being killed by system (in the background).
As per the documentation of Warm start - It looks the case of warm start because it is re-launched after being evicted from the memory.
Which one is actually true here ? What is it that is being missed here ?