Merge "Only check for powerwash in A/B ota packages"
This commit is contained in:
commit
56bca1f2d5
1 changed files with 3 additions and 1 deletions
|
@ -551,7 +551,9 @@ static InstallResult TryUpdateBinary(Package* package, bool* wipe_cache,
|
|||
} else {
|
||||
LOG(FATAL) << "Invalid status code " << status;
|
||||
}
|
||||
PerformPowerwashIfRequired(zip, device);
|
||||
if (package_is_ab) {
|
||||
PerformPowerwashIfRequired(zip, device);
|
||||
}
|
||||
|
||||
return INSTALL_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue