From 55e3d22223ada3c9da738b4ae2824c11aa0caa91 Mon Sep 17 00:00:00 2001 From: xunchang Date: Mon, 11 Mar 2019 11:28:41 -0700 Subject: Use the package class for wipe packages The wipe package used to open the zip file directly from the content string. Switch to use the interface from the new package class instead. Bug: 127071893 Test: unit tests pass Change-Id: I990e7f00c5148710722d17140bab2e343eea3b6b --- install.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.h') diff --git a/install.h b/install.h index 7b6267bf1..da8aa5e39 100644 --- a/install.h +++ b/install.h @@ -57,7 +57,7 @@ bool verify_package(Package* package); bool ReadMetadataFromPackage(ZipArchiveHandle zip, std::map* metadata); // Reads the "recovery.wipe" entry in the zip archive returns a list of partitions to wipe. -std::vector GetWipePartitionList(const std::string& wipe_package); +std::vector GetWipePartitionList(Package* wipe_package); // Verifies the compatibility info in a Treble-compatible package. Returns true directly if the // entry doesn't exist. -- cgit v1.2.3