diff options
author | Tianjie Xu <xunchang@google.com> | 2018-04-13 22:46:50 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-04-13 22:46:50 +0200 |
commit | ee18bb5739418bc2f24fea6edd328d228af4bc54 (patch) | |
tree | 582f579d7e183534dc04f1c074d87e244d2102a9 /otautil/cache_location.cpp | |
parent | Merge "recovery: enable fsverity feature bit" into pi-dev am: 257dd337da (diff) | |
parent | Merge "Remove the old log files if cache space is insufficient for OTA" am: 0b3e25719d (diff) | |
download | android_bootable_recovery-ee18bb5739418bc2f24fea6edd328d228af4bc54.tar android_bootable_recovery-ee18bb5739418bc2f24fea6edd328d228af4bc54.tar.gz android_bootable_recovery-ee18bb5739418bc2f24fea6edd328d228af4bc54.tar.bz2 android_bootable_recovery-ee18bb5739418bc2f24fea6edd328d228af4bc54.tar.lz android_bootable_recovery-ee18bb5739418bc2f24fea6edd328d228af4bc54.tar.xz android_bootable_recovery-ee18bb5739418bc2f24fea6edd328d228af4bc54.tar.zst android_bootable_recovery-ee18bb5739418bc2f24fea6edd328d228af4bc54.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) {} |