diff options
author | Elliott Hughes <enh@google.com> | 2015-04-10 19:28:24 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 19:28:24 +0200 |
commit | c22f5774d04bed56c7c00874b5a0a0ec37f605aa (patch) | |
tree | 9cd50e1cce726c3a32b440012f09d63825cfcbee /recovery.cpp | |
parent | am 18eaa0cf: Merge "Add ev_iterate_available_keys to minui." (diff) | |
parent | Merge "Move "Mount /system" to the main menu." (diff) | |
download | android_bootable_recovery-c22f5774d04bed56c7c00874b5a0a0ec37f605aa.tar android_bootable_recovery-c22f5774d04bed56c7c00874b5a0a0ec37f605aa.tar.gz android_bootable_recovery-c22f5774d04bed56c7c00874b5a0a0ec37f605aa.tar.bz2 android_bootable_recovery-c22f5774d04bed56c7c00874b5a0a0ec37f605aa.tar.lz android_bootable_recovery-c22f5774d04bed56c7c00874b5a0a0ec37f605aa.tar.xz android_bootable_recovery-c22f5774d04bed56c7c00874b5a0a0ec37f605aa.tar.zst android_bootable_recovery-c22f5774d04bed56c7c00874b5a0a0ec37f605aa.zip |
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recovery.cpp b/recovery.cpp index bbfeda4a6..cdbb598e3 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -840,7 +840,7 @@ prompt_and_wait(Device* device, int status) { break; case Device::APPLY_ADB_SIDELOAD: - case Device::APPLY_EXT: + case Device::APPLY_SDCARD: { bool adb = (chosen_action == Device::APPLY_ADB_SIDELOAD); if (adb) { @@ -867,12 +867,14 @@ prompt_and_wait(Device* device, int status) { } break; - case Device::APPLY_CACHE: - ui->Print("\nAPPLY_CACHE is deprecated.\n"); + case Device::VIEW_RECOVERY_LOGS: + choose_recovery_file(device); break; - case Device::READ_RECOVERY_LASTLOG: - choose_recovery_file(device); + case Device::MOUNT_SYSTEM: + if (ensure_path_mounted("/system") != -1) { + ui->Print("Mounted /system."); + } break; } } |