summaryrefslogtreecommitdiffstats
path: root/install/wipe_device.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-30 09:25:41 +0200
committerTao Bao <tbao@google.com>2019-04-30 22:58:03 +0200
commit36c7276cb29c0990933de6da8dbcf7ea2dc2741d (patch)
tree34fc209da376e6237f12c976629e319583ff528b /install/wipe_device.cpp
parentMerge "tests: Merge recovery_component_test into recovery_unit_test." (diff)
downloadandroid_bootable_recovery-36c7276cb29c0990933de6da8dbcf7ea2dc2741d.tar
android_bootable_recovery-36c7276cb29c0990933de6da8dbcf7ea2dc2741d.tar.gz
android_bootable_recovery-36c7276cb29c0990933de6da8dbcf7ea2dc2741d.tar.bz2
android_bootable_recovery-36c7276cb29c0990933de6da8dbcf7ea2dc2741d.tar.lz
android_bootable_recovery-36c7276cb29c0990933de6da8dbcf7ea2dc2741d.tar.xz
android_bootable_recovery-36c7276cb29c0990933de6da8dbcf7ea2dc2741d.tar.zst
android_bootable_recovery-36c7276cb29c0990933de6da8dbcf7ea2dc2741d.zip
Diffstat (limited to '')
-rw-r--r--install/wipe_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/wipe_device.cpp b/install/wipe_device.cpp
index 72b96f7b4..5a9b512c1 100644
--- a/install/wipe_device.cpp
+++ b/install/wipe_device.cpp
@@ -165,7 +165,7 @@ static bool CheckWipePackage(Package* wipe_package, RecoveryUI* ui) {
return false;
}
- return CheckPackageMetadata(metadata, OtaType::BRICK) == 0;
+ return CheckPackageMetadata(metadata, OtaType::BRICK);
}
bool WipeAbDevice(Device* device, size_t wipe_package_size) {