diff --git a/install/install.cpp b/install/install.cpp index 5c3c5328..59a40b8e 100644 --- a/install/install.cpp +++ b/install/install.cpp @@ -409,11 +409,11 @@ static InstallResult TryUpdateBinary(Package* package, bool* wipe_cache, bool ab_device_supports_nonab = true; bool device_only_supports_ab = device_supports_ab && !ab_device_supports_nonab; - const auto current_spl = android::base::GetProperty("ro.build.version.security_patch", ""); + /*const auto current_spl = android::base::GetProperty("ro.build.version.security_patch", ""); if (ViolatesSPLDowngrade(zip, current_spl)) { LOG(ERROR) << "Denying OTA because it's SPL downgrade"; return INSTALL_ERROR; - } + }*/ if (package_is_ab) { CHECK(package->GetType() == PackageType::kFile);