Merge "Replace pm.dexopt.priv-apps with existing constant" into pi-dev

This commit is contained in:
Victor Hsieh
2018-03-22 21:17:56 +00:00
committed by Android (Google) Code Review

View File

@@ -10355,7 +10355,7 @@ public class PackageManagerService extends IPackageManager.Stub
if (Build.IS_DEBUGGABLE &&
pkg.isPrivileged() &&
!SystemProperties.getBoolean("pm.dexopt.priv-apps", true)) {
!SystemProperties.getBoolean(PROPERTY_NAME_PM_DEXOPT_PRIV_APPS_OOB, true)) {
PackageManagerServiceUtils.logPackageHasUncompressedCode(pkg);
}