summaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-04-15 21:53:19 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-04-15 21:53:19 +0200
commite8d0ecccf7e54e73418cac94b0b136bfed94d51a (patch)
tree5fd05a716b0e9214b0fbcdd3a94355cfcc008ed5 /device.cpp
parentExplicitly set the font face and color. (diff)
parentUpdate the system update animation. (diff)
downloadandroid_bootable_recovery-e8d0ecccf7e54e73418cac94b0b136bfed94d51a.tar
android_bootable_recovery-e8d0ecccf7e54e73418cac94b0b136bfed94d51a.tar.gz
android_bootable_recovery-e8d0ecccf7e54e73418cac94b0b136bfed94d51a.tar.bz2
android_bootable_recovery-e8d0ecccf7e54e73418cac94b0b136bfed94d51a.tar.lz
android_bootable_recovery-e8d0ecccf7e54e73418cac94b0b136bfed94d51a.tar.xz
android_bootable_recovery-e8d0ecccf7e54e73418cac94b0b136bfed94d51a.tar.zst
android_bootable_recovery-e8d0ecccf7e54e73418cac94b0b136bfed94d51a.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;
}
}