summaryrefslogtreecommitdiffstats
path: root/install/wipe_device.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-01 04:30:29 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-05-01 04:30:29 +0200
commit414051a96688f9a9b4115bf787c5d41c1c179abf (patch)
tree2e0f43553baf1ad50a222b113babbc5cad5371fe /install/wipe_device.cpp
parentSupport wipe command in rescue mode am: 5a1916b9be (diff)
parentMerge changes I2d42f55a,Ic1b5dbf7 am: b5fe2dd00c (diff)
downloadandroid_bootable_recovery-414051a96688f9a9b4115bf787c5d41c1c179abf.tar
android_bootable_recovery-414051a96688f9a9b4115bf787c5d41c1c179abf.tar.gz
android_bootable_recovery-414051a96688f9a9b4115bf787c5d41c1c179abf.tar.bz2
android_bootable_recovery-414051a96688f9a9b4115bf787c5d41c1c179abf.tar.lz
android_bootable_recovery-414051a96688f9a9b4115bf787c5d41c1c179abf.tar.xz
android_bootable_recovery-414051a96688f9a9b4115bf787c5d41c1c179abf.tar.zst
android_bootable_recovery-414051a96688f9a9b4115bf787c5d41c1c179abf.zip
Diffstat (limited to 'install/wipe_device.cpp')
-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) {