summaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'device.cpp')
-rw-r--r--device.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/device.cpp b/device.cpp
index 4f19f0e..011aef0 100644
--- a/device.cpp
+++ b/device.cpp
@@ -39,13 +39,17 @@ struct menu_entry {
};
static const char* WIPE_MENU_NAMES[] = {
+#ifndef RELEASE_BUILD
"System reset (keep media)",
+#endif
"Full factory reset",
"Wipe cache partition",
nullptr
};
static const menu_entry WIPE_MENU_ENTRIES[] = {
+#ifndef RELEASE_BUILD
{ ACTION_INVOKE, { .action = Device::WIPE_DATA } },
+#endif
{ ACTION_INVOKE, { .action = Device::WIPE_FULL } },
{ ACTION_INVOKE, { .action = Device::WIPE_CACHE } },
{ ACTION_NONE, { .action = Device::NO_ACTION } }