summaryrefslogtreecommitdiff
path: root/runtime/base/file_utils.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-03-28 10:26:07 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-03-28 10:26:07 +0000
commitb38988a227534ae17045dadedc24d2131d59b42d (patch)
tree4aa18d4de72ef2e614d9459234a979bff69bc7ba /runtime/base/file_utils.h
parent981d6b58c81c20f7d5f7d5352c30c2d916c2e60b (diff)
parent8e1a7cb303d7c8f763dfb99ae311b820996b1ab4 (diff)
Merge "Revert "Revert "Allow hidden API access from system libraries"""
Diffstat (limited to 'runtime/base/file_utils.h')
-rw-r--r--runtime/base/file_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/base/file_utils.h b/runtime/base/file_utils.h
index 7f691d546b..8adb4f7bf8 100644
--- a/runtime/base/file_utils.h
+++ b/runtime/base/file_utils.h
@@ -75,6 +75,9 @@ std::string ReplaceFileExtension(const std::string& filename, const std::string&
// Return whether the location is on system (i.e. android root).
bool LocationIsOnSystem(const char* location);
+// Return whether the location is on system/framework (i.e. android_root/framework).
+bool LocationIsOnSystemFramework(const char* location);
+
} // namespace art
#endif // ART_RUNTIME_BASE_FILE_UTILS_H_