Skip to content
Commit 3d012cb5 authored by Hai Zhang's avatar Hai Zhang
Browse files

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
parent d32d73e4
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