summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-03-08 21:34:19 +0100
committerTianjie Xu <xunchang@google.com>2018-03-08 23:40:09 +0100
commit01daebbe68943725e7b80e30082330c6bd042a88 (patch)
tree432867ded565478c49fd2734c67455cfb90dd130 /updater/updater.cpp
parentMerge "Add a singleton CacheLocation to replace the hard coded locations" am: 47cd789eed am: a72f93d6da (diff)
downloadandroid_bootable_recovery-01daebbe68943725e7b80e30082330c6bd042a88.tar
android_bootable_recovery-01daebbe68943725e7b80e30082330c6bd042a88.tar.gz
android_bootable_recovery-01daebbe68943725e7b80e30082330c6bd042a88.tar.bz2
android_bootable_recovery-01daebbe68943725e7b80e30082330c6bd042a88.tar.lz
android_bootable_recovery-01daebbe68943725e7b80e30082330c6bd042a88.tar.xz
android_bootable_recovery-01daebbe68943725e7b80e30082330c6bd042a88.tar.zst
android_bootable_recovery-01daebbe68943725e7b80e30082330c6bd042a88.zip
Diffstat (limited to 'updater/updater.cpp')
-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);