diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-05-28 17:57:24 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-28 17:57:24 +0200 |
commit | c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3 (patch) | |
tree | 10cea79238aaa7329865c8fecc1ea50d3b4409b8 /fastboot | |
parent | Merge "Some clean ups to the updater" (diff) | |
parent | recovery: report compliant reboot reason (Part Deux) (diff) | |
download | android_bootable_recovery-c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3.tar android_bootable_recovery-c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3.tar.gz android_bootable_recovery-c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3.tar.bz2 android_bootable_recovery-c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3.tar.lz android_bootable_recovery-c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3.tar.xz android_bootable_recovery-c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3.tar.zst android_bootable_recovery-c0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3.zip |
Diffstat (limited to '')
-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 */) { |