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

Skip to content
Commit e55490cb authored by Songchun Fan's avatar Songchun Fan
Browse files

[pm] correctly lock/unlock mInstallLock

ReentrantLock.lock() doesn't lock on the same thing as synchronized()
locking. Since we use lock(mInstallLock) for b/306917971, we need to update
all usages of synchronized(mInstallLock) to lock(mInstallLock).

BUG: 341332694
Test: manually going through repro steps in the bug
Test: atest FrameworksMockingServicesTests:com.android.server.pm.PackageManagerTracedLockTest

Change-Id: I03d47a6ecbd0099d4c4130d1e3b070b55bfdcecb
parent dabcb179
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