diff options
author | Tianjie Xu <xunchang@google.com> | 2018-04-13 22:33:21 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-04-13 22:33:21 +0200 |
commit | 8982db6ae1913e7e1866986605a080699be6980b (patch) | |
tree | 68bd13f062360a4a868543480e37c123866c785b /otautil/cache_location.cpp | |
parent | Merge "install: mkfs.f2fs: specify sector size for target image size" (diff) | |
parent | Merge "Remove the old log files if cache space is insufficient for OTA" (diff) | |
download | android_bootable_recovery-8982db6ae1913e7e1866986605a080699be6980b.tar android_bootable_recovery-8982db6ae1913e7e1866986605a080699be6980b.tar.gz android_bootable_recovery-8982db6ae1913e7e1866986605a080699be6980b.tar.bz2 android_bootable_recovery-8982db6ae1913e7e1866986605a080699be6980b.tar.lz android_bootable_recovery-8982db6ae1913e7e1866986605a080699be6980b.tar.xz android_bootable_recovery-8982db6ae1913e7e1866986605a080699be6980b.tar.zst android_bootable_recovery-8982db6ae1913e7e1866986605a080699be6980b.zip |
Diffstat (limited to 'otautil/cache_location.cpp')
-rw-r--r-- | otautil/cache_location.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/otautil/cache_location.cpp b/otautil/cache_location.cpp index 8ddefec5e..6139bf17b 100644 --- a/otautil/cache_location.cpp +++ b/otautil/cache_location.cpp @@ -19,6 +19,7 @@ constexpr const char kDefaultCacheTempSource[] = "/cache/saved.file"; constexpr const char kDefaultLastCommandFile[] = "/cache/recovery/last_command"; constexpr const char kDefaultStashDirectoryBase[] = "/cache/recovery"; +constexpr const char kDefaultCacheLogDirectory[] = "/cache/recovery"; CacheLocation& CacheLocation::location() { static CacheLocation cache_location; @@ -28,4 +29,5 @@ CacheLocation& CacheLocation::location() { CacheLocation::CacheLocation() : cache_temp_source_(kDefaultCacheTempSource), last_command_file_(kDefaultLastCommandFile), - stash_directory_base_(kDefaultStashDirectoryBase) {} + stash_directory_base_(kDefaultStashDirectoryBase), + cache_log_directory_(kDefaultCacheLogDirectory) {} |