summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-03-09 05:17:30 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-03-09 05:17:30 +0100
commit0acbdac82b58786933a94e131e47f9109bf007d1 (patch)
tree5e8daf21e977001cb67961d442b8b8340b409a2e /updater/updater.cpp
parentMerge "Export fuse_sideload.h for libfusesideload." (diff)
parentSet the update locations to default in CacheLocation's constructor (diff)
downloadandroid_bootable_recovery-0acbdac82b58786933a94e131e47f9109bf007d1.tar
android_bootable_recovery-0acbdac82b58786933a94e131e47f9109bf007d1.tar.gz
android_bootable_recovery-0acbdac82b58786933a94e131e47f9109bf007d1.tar.bz2
android_bootable_recovery-0acbdac82b58786933a94e131e47f9109bf007d1.tar.lz
android_bootable_recovery-0acbdac82b58786933a94e131e47f9109bf007d1.tar.xz
android_bootable_recovery-0acbdac82b58786933a94e131e47f9109bf007d1.tar.zst
android_bootable_recovery-0acbdac82b58786933a94e131e47f9109bf007d1.zip
Diffstat (limited to '')
-rw-r--r--updater/updater.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index f063e5fa1..1d6b172bb 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -169,10 +169,6 @@ int main(int argc, char** argv) {
}
ota_io_init(za, state.is_retry);
- // Initialize the cache_temp_source, last_command_file and stash_directory_base to their default
- // locations.
- CacheLocation::location().ResetLocations();
-
std::string result;
bool status = Evaluate(&state, root, &result);