The document calls "onPause" when:
when the system is about to begin resuming the previous action.
Compared to onStop, the difference is:
Called when an action is no longer displayed to the user, as another action is resumed and covers this one.
But when I press the HW-Home key for a long time and the "latest applications" appear, "onPause" is not called.
At this moment, I cannot interact for a long time with the original activity, but it is still visible.
I am confused by this situation. Please help explain.
Many thanks. BR, Henry
android android-activity lifecycle timing onpause
Henry
source share