summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-08-21 01:03:25 +0200
committerDoug Zongker <dougz@google.com>2013-08-21 22:44:35 +0200
commit239ac6abac4524be93fce710360c0512c6cc2ab3 (patch)
tree55428f9ad654b63d4002ca94902440648c955b96 /recovery.cpp
parentnotify about pending long press (diff)
downloadandroid_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.gz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.bz2
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.lz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.xz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.zst
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 38366b65a..654a66526 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -811,10 +811,6 @@ prompt_and_wait(Device* device, int status) {
break;
case Device::APPLY_EXT:
- // Some packages expect /cache to be mounted (eg,
- // standard incremental packages expect to use /cache
- // as scratch space).
- ensure_path_mounted(CACHE_ROOT);
status = update_directory(SDCARD_ROOT, SDCARD_ROOT, &wipe_cache, device);
if (status == INSTALL_SUCCESS && wipe_cache) {
ui->Print("\n-- Wiping cache (at package request)...\n");
@@ -860,7 +856,6 @@ prompt_and_wait(Device* device, int status) {
break;
case Device::APPLY_ADB_SIDELOAD:
- ensure_path_mounted(CACHE_ROOT);
status = apply_from_adb(ui, &wipe_cache, TEMPORARY_INSTALL_FILE);
if (status >= 0) {
if (status != INSTALL_SUCCESS) {