Question from the Android test

What is the name of the method that is called when the user leaves the app?