summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2019-05-20 19:36:16 +0200
committerMark Salyzyn <salyzyn@google.com>2019-05-20 22:52:10 +0200
commit6f4e4db4f9e0911a07c6393d01e4380e844f7891 (patch)
treec39c8c28b494d05bb4bcaf0ca4d8e6dff2a3cc95 /fastboot/fastboot.cpp
parentDO NOT MERGE - Skip pi-platform-release (PPRL.190505.001) in stage-aosp-master (diff)
downloadandroid_bootable_recovery-6f4e4db4f9e0911a07c6393d01e4380e844f7891.tar
android_bootable_recovery-6f4e4db4f9e0911a07c6393d01e4380e844f7891.tar.gz
android_bootable_recovery-6f4e4db4f9e0911a07c6393d01e4380e844f7891.tar.bz2
android_bootable_recovery-6f4e4db4f9e0911a07c6393d01e4380e844f7891.tar.lz
android_bootable_recovery-6f4e4db4f9e0911a07c6393d01e4380e844f7891.tar.xz
android_bootable_recovery-6f4e4db4f9e0911a07c6393d01e4380e844f7891.tar.zst
android_bootable_recovery-6f4e4db4f9e0911a07c6393d01e4380e844f7891.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 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 */) {