diff options
author | 2021-12-01 16:51:20 -0800 | |
---|---|---|
committer | 2021-12-02 20:02:16 +0000 | |
commit | fb007611cab3dcd240b21730088f0fc87dd45bd1 (patch) | |
tree | 407a83cf063d76db8188e1f934eee2c0a00cd255 /libartbase/base/file_utils.cc | |
parent | 80f93a801329abce10971b0db2da1103023abbaa (diff) |
Respect ART_APEX_DATA for default artifact dir
This change does not change the default artifact directory. It just
makes odrefresh not define the default directory by itself, but relies
on GetArtApexData from libartbase instead (which has the same default).
Bug: 206468124
Test: Run odrefresh in the VM. No longer seeing files in the
hard-coded directory.
Test: atest art_standalone_odrefresh_tests
Test: atest art_standalone_libartbase_tests
Change-Id: I45bcc145dbccb3b953f359f6c10fa186f251600c
Diffstat (limited to 'libartbase/base/file_utils.cc')
-rw-r--r-- | libartbase/base/file_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libartbase/base/file_utils.cc b/libartbase/base/file_utils.cc index 9337e9f949..8159b0cf66 100644 --- a/libartbase/base/file_utils.cc +++ b/libartbase/base/file_utils.cc @@ -451,7 +451,7 @@ bool GetDalvikCacheFilename(const char* location, return GetLocationEncodedFilename(location, cache_location, filename, error_msg); } -static std::string GetApexDataDalvikCacheDirectory(InstructionSet isa) { +std::string GetApexDataDalvikCacheDirectory(InstructionSet isa) { if (isa != InstructionSet::kNone) { return GetDalvikCacheDirectory(GetArtApexData(), GetInstructionSetString(isa)); } |