Merge "Do not force to verify priv apps on boot" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-18 21:42:42 +00:00
committed by Android (Google) Code Review

View File

@@ -595,8 +595,8 @@ public class PackageManagerServiceUtils {
/** Returns true to force apk verification if the package is considered privileged. */ /** Returns true to force apk verification if the package is considered privileged. */
static boolean isApkVerificationForced(@Nullable PackageSetting ps) { static boolean isApkVerificationForced(@Nullable PackageSetting ps) {
return ps != null && ps.isPrivileged() && ( // TODO(b/154310064): re-enable.
isApkVerityEnabled() || isLegacyApkVerityEnabled()); return false;
} }
/** /**