summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-09-27 20:16:38 +0300
committeralk3pInjection <webmaster@raspii.tech>2022-01-29 00:06:32 +0800
commit3bc558d1b65410ef5b11f3199e3db12e023e9338 (patch)
tree6c3399eb0c279020fb43acd97bad66a98c9a951b
parenta7ac948c06fdcef23924c20d0bbfb2a6c61c3e99 (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 },