Merge "Don't create cache when doing Apex PreRebootVerification" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-16 01:07:20 +00:00
committed by Android (Google) Code Review

View File

@@ -3581,7 +3581,8 @@ public class PackageManagerService extends IPackageManager.Stub
// Prepare a supplier of package parser for the staging manager to parse apex file // Prepare a supplier of package parser for the staging manager to parse apex file
// during the staging installation. // during the staging installation.
final Supplier<PackageParser2> apexParserSupplier = () -> new PackageParser2( final Supplier<PackageParser2> apexParserSupplier = () -> new PackageParser2(
mSeparateProcesses, mOnlyCore, mMetrics, mCacheDir, mPackageParserCallback); mSeparateProcesses, mOnlyCore, mMetrics, null /* cacheDir */,
mPackageParserCallback);
mInstallerService = new PackageInstallerService(mContext, this, apexParserSupplier); mInstallerService = new PackageInstallerService(mContext, this, apexParserSupplier);
final Pair<ComponentName, String> instantAppResolverComponent = final Pair<ComponentName, String> instantAppResolverComponent =
getInstantAppResolverLPr(); getInstantAppResolverLPr();