summaryrefslogtreecommitdiffstats
path: root/install/install.cpp
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-03-10 23:13:39 +0100
committerEric Biggers <ebiggers@google.com>2022-03-10 23:48:49 +0100
commitfde69fbd8ab174dbc9f828785c435a7d52311386 (patch)
tree2a0820b1c0944841852af90638b80e1b7cc16ee6 /install/install.cpp
parentMerge "Merge Android 12L" (diff)
downloadandroid_bootable_recovery-fde69fbd8ab174dbc9f828785c435a7d52311386.tar
android_bootable_recovery-fde69fbd8ab174dbc9f828785c435a7d52311386.tar.gz
android_bootable_recovery-fde69fbd8ab174dbc9f828785c435a7d52311386.tar.bz2
android_bootable_recovery-fde69fbd8ab174dbc9f828785c435a7d52311386.tar.lz
android_bootable_recovery-fde69fbd8ab174dbc9f828785c435a7d52311386.tar.xz
android_bootable_recovery-fde69fbd8ab174dbc9f828785c435a7d52311386.tar.zst
android_bootable_recovery-fde69fbd8ab174dbc9f828785c435a7d52311386.zip
Diffstat (limited to '')
-rw-r--r--install/install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/install.cpp b/install/install.cpp
index 811bcb021..83f3cad6b 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -347,7 +347,7 @@ static bool PerformPowerwashIfRequired(ZipArchiveHandle zip, Device *device) {
const auto payload_properties = ExtractPayloadProperties(zip);
if (payload_properties.find("POWERWASH=1") != std::string::npos) {
LOG(INFO) << "Payload properties has POWERWASH=1, wiping userdata...";
- return WipeData(device, true);
+ return WipeData(device);
}
return true;
}