commit | 912d96c5eab1f49dd55e0d2076452ec21c9024ea | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Oct 14 21:32:50 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 14 21:32:50 2022 +0000 |
tree | 485fe91fe78460b67fe06fc9d4b7c64d759be926 | |
parent | 73a020b1e4df5b9928bb5ab7b1052f3b993d8669 [diff] | |
parent | e089b78334cd314204fc13672bf071d545811d34 [diff] |
Merge "Only check for powerwash in A/B ota packages" am: 56bca1f2d5 am: 31d74fa4ea am: e089b78334 Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2256203 Change-Id: I0ac2da4c4d7bd1c678a1e80e7b9e4ebee318ca65 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/install/install.cpp b/install/install.cpp index 83f3cad..044856b 100644 --- a/install/install.cpp +++ b/install/install.cpp
@@ -551,7 +551,9 @@ } else { LOG(FATAL) << "Invalid status code " << status; } - PerformPowerwashIfRequired(zip, device); + if (package_is_ab) { + PerformPowerwashIfRequired(zip, device); + } return INSTALL_SUCCESS; }