Merge "Do not force to verify priv apps on boot" into rvc-dev am: 5003e7923c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11897245 Change-Id: Ie8b4d36491742df4ffbf150b4d14dae6d3a1f4f0
This commit is contained in:
@@ -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