简体   繁体   中英

What happens to the screen when the paused activity gets destroyed?

The activity is still visible when it's in the paused state, then what happens to the screen when it gets destroyed? Is the paused activity simply painted black?

I just tried it: created an activity, put another transparent activity above it so onPause gets called, and destroyed the paused activity. The destroyed Activity disappears from the screen, and whatever was under it becomes visible, usually the home screen.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM