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.cpp | |
parent | 18eaa0cfe7aa775546369de829a1ff3049cf82a5 (diff) | |
download | bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.zip bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.gz bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.bz2 |
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.cpp')
-rw-r--r-- | device.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -31,6 +31,7 @@ static const char* ITEMS[] = { "Apply update from SD card", "Wipe data/factory reset", "Wipe cache partition", + "Mount /system", "View recovery logs", "Power off", NULL @@ -44,11 +45,12 @@ Device::BuiltinAction Device::InvokeMenuItem(int menu_position) { case 0: return REBOOT; case 1: return REBOOT_BOOTLOADER; case 2: return APPLY_ADB_SIDELOAD; - case 3: return APPLY_EXT; + case 3: return APPLY_SDCARD; case 4: return WIPE_DATA; case 5: return WIPE_CACHE; - case 6: return READ_RECOVERY_LASTLOG; - case 7: return SHUTDOWN; + case 6: return MOUNT_SYSTEM; + case 7: return VIEW_RECOVERY_LOGS; + case 8: return SHUTDOWN; default: return NO_ACTION; } } |