In the following sequence ...
Activity A -> Activity B -> Activity C
When you press the back button in Activity C , then the onBackPressed() method will be called. The onBackPressed() behavior of onBackPressed() is to end the current activity until you can use the functionality of Override .
So, in the normal case, after clicking again, the current Activity will be destroyed, and you will not be able to find it in the Activity Stack , so you will not be able to resume it.
For more information, see the Android developer documentation from below ...
Tasks and Back Stack
source share