diff options
| author | 2024-06-03 16:07:11 -0700 | |
|---|---|---|
| committer | 2024-06-04 13:39:44 -0700 | |
| commit | e55490cb019d6584eb4981f565c378459a8e1ee3 (patch) | |
| tree | a6a70d74710b297b265bd0c94904f9565f1f5b35 /libs/androidfw/ZipFileRO.cpp | |
| parent | dabcb179b5927eb990b67c03ec76ab527bd2b1e0 (diff) | |
[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
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions