Merge "Only check for powerwash in A/B ota packages"

This commit is contained in:
Treehugger Robot 2022-10-14 20:04:25 +00:00 committed by Gerrit Code Review
commit 56bca1f2d5

View file

@ -551,7 +551,9 @@ static InstallResult TryUpdateBinary(Package* package, bool* wipe_cache,
} else {
LOG(FATAL) << "Invalid status code " << status;
}
if (package_is_ab) {
PerformPowerwashIfRequired(zip, device);
}
return INSTALL_SUCCESS;
}