In the Activity many times A click on the button, button click event method using Thread inside. Sleep (10000); Hae ANR app, when I test ANR many times and the end of the app, the Activity of the life cycle in the following two cases:
The first Activity lifecycle scenario:
The onCreate () - & gt; OnStart () - & gt; OnResume () -- -- -- -- -- & gt; OnPause ()
The second Activity lifecycle scenario:
The onCreate () - & gt; OnStart () - & gt; OnResume ()
Then the app process is over, why will appear this kind of circumstance, bosses can answer my doubt?