summaryrefslogtreecommitdiffstats
path: root/otautil/cache_location.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:24:02 +0100
commitb4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef (patch)
tree7b03c5c23301d5616bec0a9cb43dce181726ba3b /otautil/cache_location.cpp
parentMerge "minadbd: Move to Soong." (diff)
downloadandroid_bootable_recovery-b4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef.tar
android_bootable_recovery-b4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef.tar.gz
android_bootable_recovery-b4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef.tar.bz2
android_bootable_recovery-b4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef.tar.lz
android_bootable_recovery-b4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef.tar.xz
android_bootable_recovery-b4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef.tar.zst
android_bootable_recovery-b4e3a370bf6fe2bbb6ad8e33d16ce3210595aaef.zip
Diffstat (limited to '')
-rw-r--r--otautil/cache_location.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/otautil/cache_location.cpp b/otautil/cache_location.cpp
index 8f289487f..8ddefec5e 100644
--- a/otautil/cache_location.cpp
+++ b/otautil/cache_location.cpp
@@ -25,8 +25,7 @@ CacheLocation& CacheLocation::location() {
return cache_location;
}
-void CacheLocation::ResetLocations() {
- cache_temp_source_ = kDefaultCacheTempSource;
- last_command_file_ = kDefaultLastCommandFile;
- stash_directory_base_ = kDefaultStashDirectoryBase;
-}
+CacheLocation::CacheLocation()
+ : cache_temp_source_(kDefaultCacheTempSource),
+ last_command_file_(kDefaultLastCommandFile),
+ stash_directory_base_(kDefaultStashDirectoryBase) {}