Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9540ca4f authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

When fork() fails, clean up data structures.

There are a number of different conditions that could cause
ActivityManager to fail to fork() a process.  One of the most common
ones is a package being "frozen" during a PackageManager operation.

When this happens, use the common forceStopPackageLocked() method
to cleanup any internal bookkeeping structures.  (It's slightly
misnamed, since it doesn't actually "force stop" the app.)  It's
also the same method that we called moments earlier when the package
was first frozen through KILL_APPLICATION_MSG.

Bug: 28395549
Change-Id: I7b1623c5f66fc1de24cad5360c977ea764d09244
parent b9f7541d
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