aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich2014-10-22 20:38:48 -0500
committerNick Kralevich2014-10-22 23:43:08 -0500
commita9ad0324d1e351b1ef460972a871bcb03051cd6a (patch)
tree0ec69c2bc716a91753d6b666b7a554b667bd4990 /device.h
parenta6e13ae01bff5109361868f565187f16d045c82d (diff)
downloadplatform-bootable-recovery-a9ad0324d1e351b1ef460972a871bcb03051cd6a.tar.gz
platform-bootable-recovery-a9ad0324d1e351b1ef460972a871bcb03051cd6a.tar.xz
platform-bootable-recovery-a9ad0324d1e351b1ef460972a871bcb03051cd6a.zip
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 57ec3fc3..8ff4ec03 100644
--- a/device.h
+++ b/device.h
@@ -68,7 +68,7 @@ class Device {
68 enum BuiltinAction { NO_ACTION, REBOOT, APPLY_EXT, 68 enum BuiltinAction { NO_ACTION, REBOOT, APPLY_EXT,
69 APPLY_CACHE, // APPLY_CACHE is deprecated; has no effect 69 APPLY_CACHE, // APPLY_CACHE is deprecated; has no effect
70 APPLY_ADB_SIDELOAD, WIPE_DATA, WIPE_CACHE, 70 APPLY_ADB_SIDELOAD, WIPE_DATA, WIPE_CACHE,
71 REBOOT_BOOTLOADER, SHUTDOWN }; 71 REBOOT_BOOTLOADER, SHUTDOWN, READ_RECOVERY_LASTLOG };
72 72
73 // Perform a recovery action selected from the menu. 73 // Perform a recovery action selected from the menu.
74 // 'menu_position' will be the item number of the selected menu 74 // 'menu_position' will be the item number of the selected menu