diff options
author | Tao Bao <tbao@google.com> | 2019-05-01 00:36:27 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-01 00:36:27 +0200 |
commit | 2ea4768d6e504f4e190e4f045cfae5dddcfe7f52 (patch) | |
tree | 8809b8d3b1557bffd6cf6bb14254109b03573797 /install/wipe_device.cpp | |
parent | Merge "tests: Merge recovery_component_test into recovery_unit_test." (diff) | |
parent | Merge changes I2d42f55a,Ic1b5dbf7 (diff) | |
download | android_bootable_recovery-2ea4768d6e504f4e190e4f045cfae5dddcfe7f52.tar android_bootable_recovery-2ea4768d6e504f4e190e4f045cfae5dddcfe7f52.tar.gz android_bootable_recovery-2ea4768d6e504f4e190e4f045cfae5dddcfe7f52.tar.bz2 android_bootable_recovery-2ea4768d6e504f4e190e4f045cfae5dddcfe7f52.tar.lz android_bootable_recovery-2ea4768d6e504f4e190e4f045cfae5dddcfe7f52.tar.xz android_bootable_recovery-2ea4768d6e504f4e190e4f045cfae5dddcfe7f52.tar.zst android_bootable_recovery-2ea4768d6e504f4e190e4f045cfae5dddcfe7f52.zip |
Diffstat (limited to 'install/wipe_device.cpp')
-rw-r--r-- | install/wipe_device.cpp | 2 |
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) { |