summaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-04-15 01:49:04 +0200
committerElliott Hughes <enh@google.com>2016-04-15 07:44:23 +0200
commit498cda6ef6c610efb055221d6c689185d49447bb (patch)
tree93254321220442262525eb80b50f60055e3cea17 /device.cpp
parentUse BoringSSL instead of mincrypt to speed up package verification. (diff)
downloadandroid_bootable_recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar
android_bootable_recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar.gz
android_bootable_recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar.bz2
android_bootable_recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar.lz
android_bootable_recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar.xz
android_bootable_recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar.zst
android_bootable_recovery-498cda6ef6c610efb055221d6c689185d49447bb.zip
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 fd1a9875b..2465b0778 100644
--- a/device.cpp
+++ b/device.cpp
@@ -25,6 +25,7 @@ static const char* MENU_ITEMS[] = {
"Wipe cache partition",
"Mount /system",
"View recovery logs",
+ "Run graphics test",
"Power off",
NULL
};
@@ -43,7 +44,8 @@ Device::BuiltinAction Device::InvokeMenuItem(int menu_position) {
case 5: return WIPE_CACHE;
case 6: return MOUNT_SYSTEM;
case 7: return VIEW_RECOVERY_LOGS;
- case 8: return SHUTDOWN;
+ case 8: return RUN_GRAPHICS_TEST;
+ case 9: return SHUTDOWN;
default: return NO_ACTION;
}
}