commit | f29d07a62a78f73a21d649f6737992c267d6f170 | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Mon Aug 08 15:17:43 2016 -0700 |
committer | Todd Kennedy <toddke@google.com> | Tue Aug 09 12:36:44 2016 -0700 |
tree | fc3e9c85ec8990f2590de19cd52dfdbc0db567b3 | |
parent | 67abc837af97e887477a60fff58821df99f84c72 [diff] |
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