Remove unused field ProtectedPackages in the ComputerEngine

Bug: 201334238
Test: Build
Change-Id: I7cd85dffd19cb68d8e7b48456e3743d01f91c3bf
This commit is contained in:
Rhed Jao
2022-01-17 11:52:20 +08:00
parent 112c540117
commit e11afa83f8

View File

@@ -350,7 +350,6 @@ public class ComputerEngine implements Computer {
private final CompilerStats mCompilerStats;
private final BackgroundDexOptService mBackgroundDexOptService;
private final PackageManagerInternal.ExternalSourcesPolicy mExternalSourcesPolicy;
private final ProtectedPackages mProtectedPackages;
// PackageManagerService attributes that are primitives are referenced through the
// pms object directly. Primitives are the only attributes so referenced.
@@ -402,7 +401,6 @@ public class ComputerEngine implements Computer {
mCompilerStats = args.service.mCompilerStats;
mBackgroundDexOptService = args.service.mBackgroundDexOptService;
mExternalSourcesPolicy = args.service.mExternalSourcesPolicy;
mProtectedPackages = args.service.mProtectedPackages;
// Used to reference PMS attributes that are primitives and which are not
// updated under control of the PMS lock.