diff options
author | Eric Biggers <ebiggers@google.com> | 2022-03-10 23:13:39 +0100 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2022-03-10 23:48:49 +0100 |
commit | fde69fbd8ab174dbc9f828785c435a7d52311386 (patch) | |
tree | 2a0820b1c0944841852af90638b80e1b7cc16ee6 /install/install.cpp | |
parent | Merge "Merge Android 12L" (diff) | |
download | android_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 'install/install.cpp')
-rw-r--r-- | install/install.cpp | 2 |
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; } |