summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2024-06-03 16:07:11 -0700
committer Songchun Fan <schfan@google.com> 2024-06-04 13:39:44 -0700
commite55490cb019d6584eb4981f565c378459a8e1ee3 (patch)
treea6a70d74710b297b265bd0c94904f9565f1f5b35 /libs/androidfw/ZipFileRO.cpp
parentdabcb179b5927eb990b67c03ec76ab527bd2b1e0 (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