aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'device.cpp')
-rw-r--r--device.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/device.cpp b/device.cpp
index fd1a9875..2465b077 100644
--- a/device.cpp
+++ b/device.cpp
@@ -25,6 +25,7 @@ static const char* MENU_ITEMS[] = {
25 "Wipe cache partition", 25 "Wipe cache partition",
26 "Mount /system", 26 "Mount /system",
27 "View recovery logs", 27 "View recovery logs",
28 "Run graphics test",
28 "Power off", 29 "Power off",
29 NULL 30 NULL
30}; 31};
@@ -43,7 +44,8 @@ Device::BuiltinAction Device::InvokeMenuItem(int menu_position) {
43 case 5: return WIPE_CACHE; 44 case 5: return WIPE_CACHE;
44 case 6: return MOUNT_SYSTEM; 45 case 6: return MOUNT_SYSTEM;
45 case 7: return VIEW_RECOVERY_LOGS; 46 case 7: return VIEW_RECOVERY_LOGS;
46 case 8: return SHUTDOWN; 47 case 8: return RUN_GRAPHICS_TEST;
48 case 9: return SHUTDOWN;
47 default: return NO_ACTION; 49 default: return NO_ACTION;
48 } 50 }
49} 51}