From 037444642bc32d8fed3bb996823b6a62faa57195 Mon Sep 17 00:00:00 2001 From: Andres Morales Date: Mon, 30 Mar 2015 20:56:57 +0000 Subject: Revert "Erase PST partition if its marked to be erased." This now gets done at the framework level. Doing it here breaks the signature on the partition. This reverts commit ee19387905650cab5da7dd97ada5502cd17ac93d. Bug: 19967123 Change-Id: I447b926b733ca145f11a916d9569ce39889db627 --- roots.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'roots.h') diff --git a/roots.h b/roots.h index b62a5b1..230d9de 100644 --- a/roots.h +++ b/roots.h @@ -46,11 +46,6 @@ int format_volume(const char* volume); // mounted (/tmp and /cache) are mounted. Returns 0 on success. int setup_install_mounts(); -// Conditionally wipes the /persistent partition if it's marked -// to wipe. Returns -1 on failure, 1 if the partition was wiped -// and 0 if the partition was not wiped. -int erase_persistent_partition(); - #ifdef __cplusplus } #endif -- cgit v1.1