[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
Loading
Please register or sign in to comment