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