From 50ff158c50b32314cd219a2e3d1edc7a95290f4f Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Mon, 25 Jan 2016 03:27:52 +0200 Subject: recovery: Add wipe system partition option Change-Id: Id606cef249a7464037443de6265055803c290d82 --- device.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'device.cpp') diff --git a/device.cpp b/device.cpp index 95608d6..0186d5b 100644 --- a/device.cpp +++ b/device.cpp @@ -68,6 +68,7 @@ static const char* ADVANCED_MENU_NAMES[] = { #endif #ifndef RELEASE_BUILD "Mount /system", + "Wipe system partition", #endif "View recovery logs", "Power off", @@ -82,6 +83,7 @@ static const menu_entry ADVANCED_MENU_ENTRIES[] = { #endif #ifndef RELEASE_BUILD { ACTION_INVOKE, { .action = Device::MOUNT_SYSTEM } }, + { ACTION_INVOKE, { .action = Device::WIPE_SYSTEM } }, #endif { ACTION_INVOKE, { .action = Device::VIEW_RECOVERY_LOGS } }, { ACTION_INVOKE, { .action = Device::SHUTDOWN } }, -- cgit v1.1