Merge "Print correct version code when skipping outdated system packages" into pi-dev

This commit is contained in:
android-build-team Robot
2018-05-09 17:01:27 +00:00
committed by Android (Google) Code Review

View File

@@ -8770,7 +8770,7 @@ public class PackageManagerService extends IPackageManager.Stub
// equal to the version on the /data partition. Throw an exception and use
// the application already installed on the /data partition.
throw new PackageManagerException(Log.WARN, "Package " + pkg.packageName + " at "
+ pkg.codePath + " ignored: updated version " + disabledPkgSetting.versionCode
+ pkg.codePath + " ignored: updated version " + pkgSetting.versionCode
+ " better than this " + pkg.getLongVersionCode());
}