summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-05-03 14:27:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-05-03 14:27:06 +0000
commit8d3bff2c80c2c4a22c3998d32c9b6db298ec0d87 (patch)
tree7714ac7a8cfeba68ef899915274700da5a884e51
parent2bc285b5701471c862cebc42b461e6bac00a3837 (diff)
parent3d55078cbb58a962c4a8bba952996f45f95859bd (diff)
downloadplatform_system_apex-8d3bff2c80c2c4a22c3998d32c9b6db298ec0d87.tar.gz
platform_system_apex-8d3bff2c80c2c4a22c3998d32c9b6db298ec0d87.tar.bz2
platform_system_apex-8d3bff2c80c2c4a22c3998d32c9b6db298ec0d87.zip
Merge "apexd: Fix database population on startup" into qt-dev
-rw-r--r--apexd/apex_database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apexd/apex_database.cpp b/apexd/apex_database.cpp
index 4539d5a2..c83c21f5 100644
--- a/apexd/apex_database.cpp
+++ b/apexd/apex_database.cpp
@@ -250,7 +250,7 @@ void MountedApexDatabase::PopulateFromMounts() {
while (std::getline(mounts, line)) {
auto [block, mountPoint] = parseMountInfo(line);
// TODO(jooyung): ignore tmp mount?
- if (fs::path(mountPoint).parent_path() == kApexRoot) {
+ if (fs::path(mountPoint).parent_path() != kApexRoot) {
continue;
}
if (isActiveMountPoint(mountPoint)) {