title: onDestroy() in Android service
body: <p>I have 2 questions regarding the onDestroy() method of a service</p>
  
  <p>1.Will the onDestroy() method of a service be called if the service is killed by the system because of lack of memory.</p>
  
  <p>2.Will the onDestroy() method of a service be called if the service is killed because the app that started the service was swiped away by the user in the resent apps screen.</p>