diff options
author | Mark Salyzyn <salyzyn@google.com> | 2019-05-21 19:44:14 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-21 19:44:14 +0200 |
commit | d31fb2e7fc7dd0afef5404d52700027c755c8ff2 (patch) | |
tree | bec408ad898b3d50b8b120cf3906db49840561d3 /recovery.cpp | |
parent | Merge "Add UpdaterRuntime class" (diff) | |
parent | recovery: report compliant reboot reason (diff) | |
download | android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.gz android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.bz2 android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.lz android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.xz android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.zst android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.zip |
Diffstat (limited to '')
-rw-r--r-- | recovery.cpp | 2 |
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; |