diff options
author | Tao Bao <tbao@google.com> | 2019-05-01 00:42:23 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-01 00:42:23 +0200 |
commit | e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b (patch) | |
tree | 55054f6b713cda3298562c4830ea946584198cfa /install/wipe_device.cpp | |
parent | Support wipe command in rescue mode (diff) | |
parent | Merge changes I2d42f55a,Ic1b5dbf7 (diff) | |
download | android_bootable_recovery-e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b.tar android_bootable_recovery-e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b.tar.gz android_bootable_recovery-e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b.tar.bz2 android_bootable_recovery-e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b.tar.lz android_bootable_recovery-e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b.tar.xz android_bootable_recovery-e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b.tar.zst android_bootable_recovery-e545dcf7c7e401c51d3c69a3f51dc8b5896fd41b.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) { |