commit | 3d012cb54573533be60974e7b2418fb57443ae9a | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Jul 27 18:00:04 2020 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Tue Jul 28 15:28:22 2020 -0700 |
tree | 2c396d4873e720b5aae3297577b0a2719573e15b | |
parent | d32d73e482e18a0319963f5e2d732c0b2383d20a [diff] |
Avoid calling into package manager while holding permission lock. Since we are moving permission into mainline, the permission module may be called with any lock held in (customized) platform code, so we should not try to acquire any lock while holding our own lock to prevent deadlock. Bug: 158736025 Test: LockFinder Test: presubmit Change-Id: If353c03d785bddddfcf6a4d66af70d91f9a957e4