summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-09-10 19:22:18 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-09-10 19:22:18 +0200
commit2172474d50c7ce7cc54cedb8499a0f4d939bd8a2 (patch)
tree456ba84f1d43e6e76c2806880a318d0de31b869b /recovery.cpp
parentMerge "Import translations. DO NOT MERGE ANYWHERE" (diff)
parentMerge Android R (diff)
downloadandroid_bootable_recovery-2172474d50c7ce7cc54cedb8499a0f4d939bd8a2.tar
android_bootable_recovery-2172474d50c7ce7cc54cedb8499a0f4d939bd8a2.tar.gz
android_bootable_recovery-2172474d50c7ce7cc54cedb8499a0f4d939bd8a2.tar.bz2
android_bootable_recovery-2172474d50c7ce7cc54cedb8499a0f4d939bd8a2.tar.lz
android_bootable_recovery-2172474d50c7ce7cc54cedb8499a0f4d939bd8a2.tar.xz
android_bootable_recovery-2172474d50c7ce7cc54cedb8499a0f4d939bd8a2.tar.zst
android_bootable_recovery-2172474d50c7ce7cc54cedb8499a0f4d939bd8a2.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";