Merge "Do not force to verify priv apps on boot" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5003e7923c
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user