aboutsummaryrefslogtreecommitdiffstats
path: root/device.h
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-10-22 18:38:48 -0700
committerNick Kralevich <nnk@google.com>2014-10-22 21:43:08 -0700
commita9ad0324d1e351b1ef460972a871bcb03051cd6a (patch)
tree0ec69c2bc716a91753d6b666b7a554b667bd4990 /device.h
parenta6e13ae01bff5109361868f565187f16d045c82d (diff)
downloadbootable_recovery-a9ad0324d1e351b1ef460972a871bcb03051cd6a.zip
bootable_recovery-a9ad0324d1e351b1ef460972a871bcb03051cd6a.tar.gz
bootable_recovery-a9ad0324d1e351b1ef460972a871bcb03051cd6a.tar.bz2
Make /cache/recovery/last_log available in recovery
Create a new recovery UI option to allow the user to view /cache/recovery/last_log for their device. This gives enhanced debugging information which may be necessary when a failed OTA occurs. Bug: 18094012 Change-Id: Ic3228de96e9bfc2a0141c7aab4ce392a38140cf3
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.h b/device.h
index 57ec3fc..8ff4ec0 100644
--- a/device.h
+++ b/device.h
@@ -68,7 +68,7 @@ class Device {
enum BuiltinAction { NO_ACTION, REBOOT, APPLY_EXT,
APPLY_CACHE, // APPLY_CACHE is deprecated; has no effect
APPLY_ADB_SIDELOAD, WIPE_DATA, WIPE_CACHE,
- REBOOT_BOOTLOADER, SHUTDOWN };
+ REBOOT_BOOTLOADER, SHUTDOWN, READ_RECOVERY_LASTLOG };
// Perform a recovery action selected from the menu.
// 'menu_position' will be the item number of the selected menu