summaryrefslogtreecommitdiffstats
path: root/otautil/paths.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-06-18 23:56:20 +0200
committerTao Bao <tbao@google.com>2018-06-19 19:50:43 +0200
commitcf60a44bd497599363c0efcab23eb6be376c741f (patch)
treecbfc7c05b48f6628ff0fd0a7d3fa8bd526450684 /otautil/paths.cpp
parentMerge "updater_sample: add proguard.flags" (diff)
downloadandroid_bootable_recovery-cf60a44bd497599363c0efcab23eb6be376c741f.tar
android_bootable_recovery-cf60a44bd497599363c0efcab23eb6be376c741f.tar.gz
android_bootable_recovery-cf60a44bd497599363c0efcab23eb6be376c741f.tar.bz2
android_bootable_recovery-cf60a44bd497599363c0efcab23eb6be376c741f.tar.lz
android_bootable_recovery-cf60a44bd497599363c0efcab23eb6be376c741f.tar.xz
android_bootable_recovery-cf60a44bd497599363c0efcab23eb6be376c741f.tar.zst
android_bootable_recovery-cf60a44bd497599363c0efcab23eb6be376c741f.zip
Diffstat (limited to 'otautil/paths.cpp')
-rw-r--r--otautil/paths.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/otautil/paths.cpp b/otautil/paths.cpp
index f08e51c7a..33ab4a5d4 100644
--- a/otautil/paths.cpp
+++ b/otautil/paths.cpp
@@ -23,6 +23,7 @@ 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";
+constexpr const char kDefaultTemporaryUpdateBinary[] = "/tmp/update-binary";
Paths& Paths::Get() {
static Paths paths;
@@ -36,4 +37,5 @@ Paths::Paths()
resource_dir_(kDefaultResourceDirectory),
stash_directory_base_(kDefaultStashDirectoryBase),
temporary_install_file_(kDefaultTemporaryInstallFile),
- temporary_log_file_(kDefaultTemporaryLogFile) {}
+ temporary_log_file_(kDefaultTemporaryLogFile),
+ temporary_update_binary_(kDefaultTemporaryUpdateBinary) {}