aboutsummaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'device.cpp')
-rw-r--r--device.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/device.cpp b/device.cpp
index 46ee880..1f6bac7 100644
--- a/device.cpp
+++ b/device.cpp
@@ -22,6 +22,7 @@ static const char* MENU_ITEMS[] = {
"Apply update",
"Wipe data/factory reset",
"Wipe cache partition",
+ "Wipe media",
"Mount /system",
"View recovery logs",
"Power off",
@@ -41,9 +42,10 @@ Device::BuiltinAction Device::InvokeMenuItem(int menu_position) {
case 2: return APPLY_UPDATE;
case 3: return WIPE_DATA;
case 4: return WIPE_CACHE;
- case 5: return MOUNT_SYSTEM;
- case 6: return VIEW_RECOVERY_LOGS;
- case 7: return SHUTDOWN;
+ case 5: return WIPE_MEDIA;
+ case 6: return MOUNT_SYSTEM;
+ case 7: return VIEW_RECOVERY_LOGS;
+ case 8: return SHUTDOWN;
default: return NO_ACTION;
}
}