title: Activity lifecycle method on app crash
body: <p>Is there a method of the Activity lifecycle that is guaranteed to get called when my app crashes?</p>
  
  <p>I put logs in all methods and crashed my app but I didn't see anything.</p>
  
  <p>I couldn't find anything in the docs too. </p>
  
  <p>I basically want to save changes in a database but ideally I do not want to do it in every update but rather in a method like onPause or onStop etc.</p>