I was reading about the Activity Lifecycle and it says that after onPause() and onStop() the Activity/Process is killable from the System.
If I have this in onPause():
{
Thread.sleep(20000)
}
Is the activity killable in those 20s or after it finishes the onPause() method?