summaryrefslogtreecommitdiffstats
path: root/install/include
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2023-03-14 23:02:53 +0100
committerKelvin Zhang <zhangkelvin@google.com>2023-03-15 01:10:42 +0100
commit170ad599540dfeee252ebf53cbedd610c2d22a5f (patch)
tree0092ae4e9b37ebea1fbf279af87434887bbfd875 /install/include
parentMerge "Require serialno field for brick OTA package on release-key devices" (diff)
downloadandroid_bootable_recovery-170ad599540dfeee252ebf53cbedd610c2d22a5f.tar
android_bootable_recovery-170ad599540dfeee252ebf53cbedd610c2d22a5f.tar.gz
android_bootable_recovery-170ad599540dfeee252ebf53cbedd610c2d22a5f.tar.bz2
android_bootable_recovery-170ad599540dfeee252ebf53cbedd610c2d22a5f.tar.lz
android_bootable_recovery-170ad599540dfeee252ebf53cbedd610c2d22a5f.tar.xz
android_bootable_recovery-170ad599540dfeee252ebf53cbedd610c2d22a5f.tar.zst
android_bootable_recovery-170ad599540dfeee252ebf53cbedd610c2d22a5f.zip
Diffstat (limited to 'install/include')
-rw-r--r--install/include/install/wipe_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/include/install/wipe_device.h b/install/include/install/wipe_device.h
index 903ddfdcd..19e7c65bf 100644
--- a/install/include/install/wipe_device.h
+++ b/install/include/install/wipe_device.h
@@ -24,6 +24,7 @@
// Wipes the current A/B device, with a secure wipe of all the partitions in RECOVERY_WIPE.
bool WipeAbDevice(Device* device, size_t wipe_package_size);
+bool WipeAbDevice(Device* device, Package* wipe_package);
// Reads the "recovery.wipe" entry in the zip archive returns a list of partitions to wipe.
std::vector<std::string> GetWipePartitionList(Package* wipe_package);