I'm receiving latest app update (for App-X) during which I'm noticing that if the App-X is currently running it's getting killed.
Is this an expected scenario? Why android kills the running process? What is the technical reasoning behind this?
If someone had some idea please help me to know about it.
Is this an expected scenario?
Yes.
Why android kills the running process? What is the technical reasoning behind this?
If Android did not terminate the process, then the running code (from the old app) might be expecting different things than what is contained in the new app, such as: