summaryrefslogtreecommitdiffstats
path: root/otautil/paths.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-05-12 11:31:26 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-12 11:31:26 +0200
commite39b6742f30b9a2cbda7965591fc2cc5a35efee0 (patch)
tree3639d50415a008b071b82babcd33951ea2affd94 /otautil/paths.cpp
parentSnap for 4775956 from 76e673417377b9ef960fba4dc7d1e8c2a505a679 to qt-release (diff)
parentMerge "Clean up the Makefile for recovery and tests." am: 1f0b9962b0 am: 0c2998ffe3 (diff)
downloadandroid_bootable_recovery-e39b6742f30b9a2cbda7965591fc2cc5a35efee0.tar
android_bootable_recovery-e39b6742f30b9a2cbda7965591fc2cc5a35efee0.tar.gz
android_bootable_recovery-e39b6742f30b9a2cbda7965591fc2cc5a35efee0.tar.bz2
android_bootable_recovery-e39b6742f30b9a2cbda7965591fc2cc5a35efee0.tar.lz
android_bootable_recovery-e39b6742f30b9a2cbda7965591fc2cc5a35efee0.tar.xz
android_bootable_recovery-e39b6742f30b9a2cbda7965591fc2cc5a35efee0.tar.zst
android_bootable_recovery-e39b6742f30b9a2cbda7965591fc2cc5a35efee0.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) {}