summaryrefslogtreecommitdiffstats
path: root/recovery.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 /recovery.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 '')
-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;