Merge "Add all shared info libraries in first pass" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5a3cfb6069
@@ -69,7 +69,6 @@ final class ReconcilePackageUtils {
|
||||
|
||||
for (InstallRequest installRequest : installRequests) {
|
||||
installRequest.onReconcileStarted();
|
||||
final String installPackageName = installRequest.getParsedPackage().getPackageName();
|
||||
|
||||
// add / replace existing with incoming packages
|
||||
combinedPackages.put(installRequest.getScannedPackageSetting().getPackageName(),
|
||||
@@ -84,12 +83,17 @@ final class ReconcilePackageUtils {
|
||||
incomingSharedLibraries, info)) {
|
||||
throw ReconcileFailure.ofInternalError(
|
||||
"Shared Library " + info.getName()
|
||||
+ " is being installed twice in this set!",
|
||||
+ " is being installed twice in this set!",
|
||||
PackageManagerException.INTERNAL_ERROR_SHARED_LIB_INSTALLED_TWICE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (InstallRequest installRequest : installRequests) {
|
||||
final String installPackageName = installRequest.getParsedPackage().getPackageName();
|
||||
final List<SharedLibraryInfo> allowedSharedLibInfos =
|
||||
sharedLibraries.getAllowedSharedLibInfos(installRequest);
|
||||
|
||||
final DeletePackageAction deletePackageAction;
|
||||
// we only want to try to delete for non system apps
|
||||
|
||||
Reference in New Issue
Block a user