summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-05-22 23:55:38 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-22 23:55:38 +0200
commit44f6b182dd5c3eb2d541c9386dee94de5677bbec (patch)
tree45ea6aa3e7a034f376969cbc45b5e0b9ab630e17 /fastboot/fastboot.cpp
parentMerge "recovery: report compliant reboot reason" (diff)
parentRevert "recovery: report compliant reboot reason" (diff)
downloadandroid_bootable_recovery-44f6b182dd5c3eb2d541c9386dee94de5677bbec.tar
android_bootable_recovery-44f6b182dd5c3eb2d541c9386dee94de5677bbec.tar.gz
android_bootable_recovery-44f6b182dd5c3eb2d541c9386dee94de5677bbec.tar.bz2
android_bootable_recovery-44f6b182dd5c3eb2d541c9386dee94de5677bbec.tar.lz
android_bootable_recovery-44f6b182dd5c3eb2d541c9386dee94de5677bbec.tar.xz
android_bootable_recovery-44f6b182dd5c3eb2d541c9386dee94de5677bbec.tar.zst
android_bootable_recovery-44f6b182dd5c3eb2d541c9386dee94de5677bbec.zip
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r--fastboot/fastboot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 202334997..14f5e4bdc 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -30,10 +30,10 @@
#include "recovery_ui/ui.h"
static const std::vector<std::pair<std::string, Device::BuiltinAction>> kFastbootMenuActions{
- { "Reboot system now", Device::REBOOT_FROM_FASTBOOT },
+ { "Reboot system now", Device::REBOOT },
{ "Enter recovery", Device::ENTER_RECOVERY },
{ "Reboot to bootloader", Device::REBOOT_BOOTLOADER },
- { "Power off", Device::SHUTDOWN_FROM_FASTBOOT },
+ { "Power off", Device::SHUTDOWN },
};
Device::BuiltinAction StartFastboot(Device* device, const std::vector<std::string>& /* args */) {