summaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-04-15 22:00:26 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-04-15 22:00:26 +0200
commit4846bc461ccf498f7dbf3752fedae58c1ca028b2 (patch)
tree3154dd445f3d767c4c20674eaae4e57994a6ae09 /device.cpp
parentMerge "Define the Bootloader Control A/B structure" am: e6af522 (diff)
parentMerge "Update the system update animation." into nyc-dev (diff)
downloadandroid_bootable_recovery-4846bc461ccf498f7dbf3752fedae58c1ca028b2.tar
android_bootable_recovery-4846bc461ccf498f7dbf3752fedae58c1ca028b2.tar.gz
android_bootable_recovery-4846bc461ccf498f7dbf3752fedae58c1ca028b2.tar.bz2
android_bootable_recovery-4846bc461ccf498f7dbf3752fedae58c1ca028b2.tar.lz
android_bootable_recovery-4846bc461ccf498f7dbf3752fedae58c1ca028b2.tar.xz
android_bootable_recovery-4846bc461ccf498f7dbf3752fedae58c1ca028b2.tar.zst
android_bootable_recovery-4846bc461ccf498f7dbf3752fedae58c1ca028b2.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;
}
}