summaryrefslogtreecommitdiff
path: root/install/install.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'install/install.cpp')
-rw-r--r--install/install.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/install.cpp b/install/install.cpp
index 6e74f80a..b9b3913e 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -712,7 +712,9 @@ bool SetupPackageMount(const std::string& package_path, bool* should_use_fuse) {
}
constexpr const char* CACHE_ROOT = "/cache";
- if (android::base::StartsWith(package_path, CACHE_ROOT)) {
+ constexpr const char* DATA_ROOT = "/data";
+ if (android::base::StartsWith(package_path, CACHE_ROOT) ||
+ android::base::StartsWith(package_path, DATA_ROOT)) {
*should_use_fuse = false;
}
return true;