From e11afa83f8f3fd877456076b7f9fec6cfff15aa9 Mon Sep 17 00:00:00 2001 From: Rhed Jao Date: Mon, 17 Jan 2022 11:52:20 +0800 Subject: [PATCH] Remove unused field ProtectedPackages in the ComputerEngine Bug: 201334238 Test: Build Change-Id: I7cd85dffd19cb68d8e7b48456e3743d01f91c3bf --- services/core/java/com/android/server/pm/ComputerEngine.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/core/java/com/android/server/pm/ComputerEngine.java b/services/core/java/com/android/server/pm/ComputerEngine.java index 2aa0e0174d0dd..8c0fb89985ce8 100644 --- a/services/core/java/com/android/server/pm/ComputerEngine.java +++ b/services/core/java/com/android/server/pm/ComputerEngine.java @@ -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.