title: Is an android service guaranteed to call onDestroy()?
body: <p>The life cycle diagram of an Activity on an android does not guarantee that onDestroy() would be called, but that the process may be killed and the Activity is removed abruptly. The life cycle diagram of a Service on an android does guarantee that onDestroy() would be called. So I have two questions relating to this difference.</p>
  
  <p>Firstly, if the Service is part of the same process as the Activity, is the Service onDestroy() called, though the Activity onDestroy() is not called? I would think not, as "killing a process" suggest that the operating system is stopping its threads and releasing its resources.</p>
  
  <p>And if that is the case, can a Service-only-process be abruptly killed by the OS?</p>