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

Change-Id: I3222796a6a7f512278c45a3077db44cb3b8ab815
This commit is contained in:
TreeHugger Robot
2020-04-16 01:25:40 +00:00
committed by Automerger Merge Worker

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
// during the staging installation.
final Supplier<PackageParser2> apexParserSupplier = () -> new PackageParser2(
mSeparateProcesses, mOnlyCore, mMetrics, mCacheDir, mPackageParserCallback);
mSeparateProcesses, mOnlyCore, mMetrics, null /* cacheDir */,
mPackageParserCallback);
mInstallerService = new PackageInstallerService(mContext, this, apexParserSupplier);
final Pair<ComponentName, String> instantAppResolverComponent =
getInstantAppResolverLPr();