Skip to content
Commit 7bb2581e authored by Magnus Edlund's avatar Magnus Edlund Committed by Jean-Baptiste Queru
Browse files

Fix problem with restarting an application process that recently has died.

There exists a race condition when starting a process that recently has died.
If the ActivityManager receives the death notification for the died process
after the new process has been started but before an application thread has
been attached to the new process will the newly created process be removed
during the cleanup of the died process. If this happens when sending a broadcast
could it result in an ANR.

This is solved by doing the clean up before starting a new process that uses
the same process record.
parent 853226b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment