简体   繁体   中英

Will my app get killed when i receive app OTA updates?

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:

  • Different resources
  • Different assets
  • Different manifest entries (eg, permissions)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM