commit | b2f366cbd573a98bcef0eae20a5e1af1cf3de51b | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Thu Apr 11 12:25:16 2019 -0700 |
committer | Todd Kennedy <toddke@google.com> | Fri Apr 12 09:41:21 2019 -0700 |
tree | 4457873b216f6c41b2bfa8cbff96a74a2368611b | |
parent | 89082d70f0bc778a6c095df3de782ec2ddc96ae2 [diff] |
Avoid taking a lock when we shouldn't Pull out code that shouldn't be executed with the mPackages lock held. Also changed the names of some methods [added a 'NotLocked' suffix] and added a WTF to be ensure that the mPackages lock is not held when those methods are called. Fixes: 129500384 Test: atest Change-Id: I6853d4e6db92b962aa79e22470845296c2a77e58