summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-22 20:03:01 +0200
committerTao Bao <tbao@google.com>2019-05-22 20:06:26 +0200
commitfeefbf2f5698a5a56adb80a057dba0bc07050c09 (patch)
tree45ea6aa3e7a034f376969cbc45b5e0b9ab630e17 /fastboot/fastboot.cpp
parentMerge "recovery: report compliant reboot reason" (diff)
downloadandroid_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.gz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.bz2
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.lz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.xz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.zst
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.zip
Diffstat (limited to '')
-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 */) {