Merge "Track the correct package manager field" into sc-dev

This commit is contained in:
Todd Kennedy
2021-06-02 14:58:05 +00:00
committed by Android (Google) Code Review

View File

@@ -1413,8 +1413,8 @@ public class PackageManagerService extends IPackageManager.Stub
mStaticLibsByDeclaringPackage = new WatchedArrayMap<>(); mStaticLibsByDeclaringPackage = new WatchedArrayMap<>();
private final SnapshotCache<WatchedArrayMap<String, WatchedLongSparseArray<SharedLibraryInfo>>> private final SnapshotCache<WatchedArrayMap<String, WatchedLongSparseArray<SharedLibraryInfo>>>
mStaticLibsByDeclaringPackageSnapshot = mStaticLibsByDeclaringPackageSnapshot =
new SnapshotCache.Auto<>(mSharedLibraries, mSharedLibraries, new SnapshotCache.Auto<>(mStaticLibsByDeclaringPackage, mStaticLibsByDeclaringPackage,
"PackageManagerService.mSharedLibraries"); "PackageManagerService.mStaticLibsByDeclaringPackage");
// Mapping from instrumentation class names to info about them. // Mapping from instrumentation class names to info about them.
@Watched @Watched