diff options
author | Elliott Hughes <enh@google.com> | 2015-04-10 10:01:53 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-10 10:01:53 -0700 |
commit | ec28340cf3af1029a00db1c83d78d14e8798e245 (patch) | |
tree | 9cd50e1cce726c3a32b440012f09d63825cfcbee /device.h | |
parent | 18eaa0cfe7aa775546369de829a1ff3049cf82a5 (diff) | |
download | bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.gz bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.bz2 bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.zip |
Move "Mount /system" to the main menu.
Everyone's adding secret key combinations for this anyway, and it's
very useful when debugging.
Change-Id: Iad549452b872a7af963dd649f283ebcd3ea24234
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -56,10 +56,19 @@ class Device { // - invoke a specific action (a menu position: any non-negative number) virtual int HandleMenuKey(int key, int visible) = 0; - 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, READ_RECOVERY_LASTLOG }; + enum BuiltinAction { + NO_ACTION = 0, + REBOOT = 1, + APPLY_SDCARD = 2, + // APPLY_CACHE was 3. + APPLY_ADB_SIDELOAD = 4, + WIPE_DATA = 5, + WIPE_CACHE = 6, + REBOOT_BOOTLOADER = 7, + SHUTDOWN = 8, + VIEW_RECOVERY_LOGS = 9, + MOUNT_SYSTEM = 10, + }; // Return the headers (an array of strings, one per line, // NULL-terminated) for the main menu. Typically these tell users |