summaryrefslogtreecommitdiffstats
path: root/otautil/paths.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-11 22:22:26 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-11 22:22:26 +0200
commite0871294aa7996d6d53b53c044cc27fc1ff64288 (patch)
tree0f6be2c5cbff66f580ba62881f31de07aecbdad6 /otautil/paths.cpp
parentMerge "recovery: Configure device menu based on runtime info." am: e498ef2f03 (diff)
parentMerge "tests: Add tests for ScreenRecoveryUI." (diff)
downloadandroid_bootable_recovery-e0871294aa7996d6d53b53c044cc27fc1ff64288.tar
android_bootable_recovery-e0871294aa7996d6d53b53c044cc27fc1ff64288.tar.gz
android_bootable_recovery-e0871294aa7996d6d53b53c044cc27fc1ff64288.tar.bz2
android_bootable_recovery-e0871294aa7996d6d53b53c044cc27fc1ff64288.tar.lz
android_bootable_recovery-e0871294aa7996d6d53b53c044cc27fc1ff64288.tar.xz
android_bootable_recovery-e0871294aa7996d6d53b53c044cc27fc1ff64288.tar.zst
android_bootable_recovery-e0871294aa7996d6d53b53c044cc27fc1ff64288.zip
Diffstat (limited to 'otautil/paths.cpp')
-rw-r--r--otautil/paths.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/otautil/paths.cpp b/otautil/paths.cpp
index ad9ec1145..f08e51c7a 100644
--- a/otautil/paths.cpp
+++ b/otautil/paths.cpp
@@ -19,6 +19,7 @@
constexpr const char kDefaultCacheLogDirectory[] = "/cache/recovery";
constexpr const char kDefaultCacheTempSource[] = "/cache/saved.file";
constexpr const char kDefaultLastCommandFile[] = "/cache/recovery/last_command";
+constexpr const char kDefaultResourceDirectory[] = "/res/images";
constexpr const char kDefaultStashDirectoryBase[] = "/cache/recovery";
constexpr const char kDefaultTemporaryInstallFile[] = "/tmp/last_install";
constexpr const char kDefaultTemporaryLogFile[] = "/tmp/recovery.log";
@@ -32,6 +33,7 @@ Paths::Paths()
: cache_log_directory_(kDefaultCacheLogDirectory),
cache_temp_source_(kDefaultCacheTempSource),
last_command_file_(kDefaultLastCommandFile),
+ resource_dir_(kDefaultResourceDirectory),
stash_directory_base_(kDefaultStashDirectoryBase),
temporary_install_file_(kDefaultTemporaryInstallFile),
temporary_log_file_(kDefaultTemporaryLogFile) {}