summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2019-05-21 19:44:14 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-21 19:44:14 +0200
commitd31fb2e7fc7dd0afef5404d52700027c755c8ff2 (patch)
treebec408ad898b3d50b8b120cf3906db49840561d3 /fastboot/fastboot.cpp
parentMerge "Add UpdaterRuntime class" (diff)
parentrecovery: report compliant reboot reason (diff)
downloadandroid_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.gz
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.bz2
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.lz
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.xz
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.zst
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.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 14f5e4bdc..202334997 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 },
+ { "Reboot system now", Device::REBOOT_FROM_FASTBOOT },
{ "Enter recovery", Device::ENTER_RECOVERY },
{ "Reboot to bootloader", Device::REBOOT_BOOTLOADER },
- { "Power off", Device::SHUTDOWN },
+ { "Power off", Device::SHUTDOWN_FROM_FASTBOOT },
};
Device::BuiltinAction StartFastboot(Device* device, const std::vector<std::string>& /* args */) {