summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-22 20:03:01 +0200
committerTao Bao <tbao@google.com>2019-05-22 20:06:26 +0200
commitfeefbf2f5698a5a56adb80a057dba0bc07050c09 (patch)
tree45ea6aa3e7a034f376969cbc45b5e0b9ab630e17 /recovery.cpp
parentMerge "recovery: report compliant reboot reason" (diff)
downloadandroid_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.gz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.bz2
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.lz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.xz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.zst
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp
index eb0c2b216..20e5a1be3 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -356,8 +356,6 @@ 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;