summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-08-27 19:16:03 +0200
committerXin Li <delphij@google.com>2020-08-27 19:16:03 +0200
commit6b3621a8c11ffa532a612de3101a99ce9f915faf (patch)
treeb385aba4a756d9f039121061d2eb2a0550c79e44 /recovery.cpp
parentMerge "Fix flaky tests by require root for minadbd_tests" am: f820e62701 (diff)
parent[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fd33b4992d -s ours (diff)
downloadandroid_bootable_recovery-6b3621a8c11ffa532a612de3101a99ce9f915faf.tar
android_bootable_recovery-6b3621a8c11ffa532a612de3101a99ce9f915faf.tar.gz
android_bootable_recovery-6b3621a8c11ffa532a612de3101a99ce9f915faf.tar.bz2
android_bootable_recovery-6b3621a8c11ffa532a612de3101a99ce9f915faf.tar.lz
android_bootable_recovery-6b3621a8c11ffa532a612de3101a99ce9f915faf.tar.xz
android_bootable_recovery-6b3621a8c11ffa532a612de3101a99ce9f915faf.tar.zst
android_bootable_recovery-6b3621a8c11ffa532a612de3101a99ce9f915faf.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 09738eb85..36924fbdf 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -746,12 +746,6 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri
set_retry_bootloader_message(retry_count + 1, args);
}
- if (update_package[0] == '@') {
- ensure_path_mounted(update_package + 1);
- } else {
- ensure_path_mounted(update_package);
- }
-
bool should_use_fuse = false;
if (!SetupPackageMount(update_package, &should_use_fuse)) {
LOG(INFO) << "Failed to set up the package access, skipping installation";