summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-05-28 17:57:24 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-28 17:57:24 +0200
commitc0a51a01ce8bf1bac21033b7eebcf63f7a9d9bb3 (patch)
tree10cea79238aaa7329865c8fecc1ea50d3b4409b8 /recovery.cpp
parentMerge "Some clean ups to the updater" (diff)
parentrecovery: report compliant reboot reason (Part Deux) (diff)
downloadandroid_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 'recovery.cpp')
-rw-r--r--recovery.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 20e5a1be3..eb0c2b216 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -356,6 +356,8 @@ static Device::BuiltinAction PromptAndWait(Device* device, InstallResult status)
: device->InvokeMenuItem(chosen_item);
switch (chosen_action) {
+ case Device::REBOOT_FROM_FASTBOOT: // Can not happen
+ case Device::SHUTDOWN_FROM_FASTBOOT: // Can not happen
case Device::NO_ACTION:
break;