Delete some dead code.

Test: Still builds.
Change-Id: If70d087f9c7d1f00cbb4b603157e155649043846
This commit is contained in:
Alan Stokes
2019-10-08 15:36:09 +01:00
parent 97f7acbd20
commit 74ce7a7de2

View File

@@ -15080,19 +15080,6 @@ public class PackageManagerService extends IPackageManager.Stub
return disabled;
}
@GuardedBy("mLock")
private void setInstallerPackageNameLPw(PackageParser.Package pkg,
String installerPackageName) {
// Enable the parent package
mSettings.setInstallerPackageName(pkg.packageName, installerPackageName);
// Enable the child packages
final int childCount = (pkg.childPackages != null) ? pkg.childPackages.size() : 0;
for (int i = 0; i < childCount; i++) {
PackageParser.Package childPkg = pkg.childPackages.get(i);
mSettings.setInstallerPackageName(childPkg.packageName, installerPackageName);
}
}
private void updateSettingsLI(PackageParser.Package newPackage, String installerPackageName,
int[] allUsers, PackageInstalledInfo res, UserHandle user, int installReason) {
// Update the parent package setting