diff options
author | Mark Salyzyn <salyzyn@google.com> | 2019-05-20 19:36:16 +0200 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2019-05-23 22:58:53 +0200 |
commit | 488cc05c9685277bfba148ad259bde10bdc4a439 (patch) | |
tree | ec6d221f9f9986f70d9df3660972c7c87d70aaf8 /fastboot/fastboot.cpp | |
parent | Merge "Move off the Next ZipString overload." (diff) | |
download | android_bootable_recovery-488cc05c9685277bfba148ad259bde10bdc4a439.tar android_bootable_recovery-488cc05c9685277bfba148ad259bde10bdc4a439.tar.gz android_bootable_recovery-488cc05c9685277bfba148ad259bde10bdc4a439.tar.bz2 android_bootable_recovery-488cc05c9685277bfba148ad259bde10bdc4a439.tar.lz android_bootable_recovery-488cc05c9685277bfba148ad259bde10bdc4a439.tar.xz android_bootable_recovery-488cc05c9685277bfba148ad259bde10bdc4a439.tar.zst android_bootable_recovery-488cc05c9685277bfba148ad259bde10bdc4a439.zip |
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r-- | fastboot/fastboot.cpp | 4 |
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 */) { |