summaryrefslogtreecommitdiffstats
path: root/otautil/include/otautil/cache_location.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-03-11 09:25:03 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-03-11 09:25:03 +0100
commitdc11abe7e7cb8fb43559c2eddd72eef8b33eb967 (patch)
tree432867ded565478c49fd2734c67455cfb90dd130 /otautil/include/otautil/cache_location.h
parentSnap for 4632767 from 4249cdfe29491b0ad8c418d8015a50cb37b6ff9b to pi-release (diff)
parentSet the update locations to default in CacheLocation's constructor (diff)
downloadandroid_bootable_recovery-dc11abe7e7cb8fb43559c2eddd72eef8b33eb967.tar
android_bootable_recovery-dc11abe7e7cb8fb43559c2eddd72eef8b33eb967.tar.gz
android_bootable_recovery-dc11abe7e7cb8fb43559c2eddd72eef8b33eb967.tar.bz2
android_bootable_recovery-dc11abe7e7cb8fb43559c2eddd72eef8b33eb967.tar.lz
android_bootable_recovery-dc11abe7e7cb8fb43559c2eddd72eef8b33eb967.tar.xz
android_bootable_recovery-dc11abe7e7cb8fb43559c2eddd72eef8b33eb967.tar.zst
android_bootable_recovery-dc11abe7e7cb8fb43559c2eddd72eef8b33eb967.zip
Diffstat (limited to 'otautil/include/otautil/cache_location.h')
-rw-r--r--otautil/include/otautil/cache_location.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/otautil/include/otautil/cache_location.h b/otautil/include/otautil/cache_location.h
index 85e0d485c..f2f663816 100644
--- a/otautil/include/otautil/cache_location.h
+++ b/otautil/include/otautil/cache_location.h
@@ -27,9 +27,6 @@ class CacheLocation {
public:
static CacheLocation& location();
- // Reset the locations to their default values.
- void ResetLocations();
-
// getter and setter functions.
std::string cache_temp_source() const {
return cache_temp_source_;
@@ -53,7 +50,7 @@ class CacheLocation {
}
private:
- CacheLocation() {}
+ CacheLocation();
DISALLOW_COPY_AND_ASSIGN(CacheLocation);
// When there isn't enough room on the target filesystem to hold the patched version of the file,