diff options
author | Nick Kralevich <nnk@google.com> | 2014-10-23 03:38:48 +0200 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2014-10-24 02:35:13 +0200 |
commit | b8344b6f5908935ac2e36109c7433fde34646620 (patch) | |
tree | 8c2046e99b9380516e3d64c1667d5e2abe5dbcf9 /default_device.cpp | |
parent | Treat already-renamed files as having no problems. (diff) | |
download | android_bootable_recovery-b8344b6f5908935ac2e36109c7433fde34646620.tar android_bootable_recovery-b8344b6f5908935ac2e36109c7433fde34646620.tar.gz android_bootable_recovery-b8344b6f5908935ac2e36109c7433fde34646620.tar.bz2 android_bootable_recovery-b8344b6f5908935ac2e36109c7433fde34646620.tar.lz android_bootable_recovery-b8344b6f5908935ac2e36109c7433fde34646620.tar.xz android_bootable_recovery-b8344b6f5908935ac2e36109c7433fde34646620.tar.zst android_bootable_recovery-b8344b6f5908935ac2e36109c7433fde34646620.zip |
Diffstat (limited to '')
-rw-r--r-- | default_device.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/default_device.cpp b/default_device.cpp index a25f05f8e..97806ac58 100644 --- a/default_device.cpp +++ b/default_device.cpp @@ -31,6 +31,7 @@ static const char* ITEMS[] = {"reboot system now", "wipe cache partition", "reboot to bootloader", "power down", + "view recovery logs", NULL }; class DefaultDevice : public Device { @@ -69,6 +70,7 @@ class DefaultDevice : public Device { case 3: return WIPE_CACHE; case 4: return REBOOT_BOOTLOADER; case 5: return SHUTDOWN; + case 6: return READ_RECOVERY_LASTLOG; default: return NO_ACTION; } } |