Merge "Do not force to verify priv apps on boot" into rvc-dev am: 5003e7923c am: d7c79cba1e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11897245

Change-Id: I89fca6d9d3721f276a928daaaa0088ddd7c61595
This commit is contained in:
TreeHugger Robot
2020-06-18 22:01:56 +00:00
committed by Automerger Merge Worker

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;
} }
/** /**