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

Skip to content
Commit f29d07a6 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Don't call into pkg mgr svc w/ lock held

In general, there's no reason to hold the lock when calling into external
components. However, in practice, this can deadlock. When dumping its
state, Package Manager Service holds a lock while it calls into other
packages to dump their state. These other packages (such as Package
Installer Session) typically take their own lock to dump coherent state.
And, thus, a deadlock.

Bug: 30419998
Change-Id: I0807b8742316d084e381be8721d1b3d41143b82c
parent 67abc837
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