summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-09-27 20:16:38 +0300
committeralk3pInjection <webmaster@raspii.tech>2023-12-25 21:42:48 +0800
commit53d34cf3b3d4907e1d2e38b8b6e2874131ea8710 (patch)
treeba0e4bcec184086c6e61e5e91fcc4aaa0240cb66
parent3c0ce4beba0f79f26e57bd074c496a3a1b266a33 (diff)
recovery: Expose reboot to recovery option
Change-Id: I8684e188577fa16073723e0093e221b767a3826d
-rw-r--r--recovery_ui/device.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery_ui/device.cpp b/recovery_ui/device.cpp
index d46df92d..854933f7 100644
--- a/recovery_ui/device.cpp
+++ b/recovery_ui/device.cpp
@@ -29,6 +29,7 @@
static std::vector<std::pair<std::string, Device::BuiltinAction>> g_menu_actions{
{ "Reboot system now", Device::REBOOT },
{ "Reboot to bootloader", Device::REBOOT_BOOTLOADER },
+ { "Reboot to recovery", Device::REBOOT_RECOVERY },
{ "Enter fastboot", Device::ENTER_FASTBOOT },
{ "Apply update from ADB", Device::APPLY_ADB_SIDELOAD },
{ "Apply update from SD card", Device::APPLY_SDCARD },