Kai
Kai

Reputation: 3865

Question about an activity killed by system

Suppose root activity A starts activity B, and then activity B starts activity C. Then the current task stack contains A, B, C.

Suppose now the system memory got low, and OS killed activity B. After that, the user pressed back key to exit activity C. My question is, after activity C exits, will activity B be recreated and shows up, or will activity A shows up?

Thanks.

Upvotes: 0

Views: 564

Answers (1)

Ted Hopp
Ted Hopp

Reputation: 234797

Unless activity B called finish(), it should show up again.

Upvotes: 1

Related Questions