Snap for 5860054 from ff34b18d49a0966d60181aa728ff0ffc961932ee to qt-qpr1-release
Change-Id: I9ebb14fa80c8849b4bfee9ee1a30ad694177a0c7
diff --git a/apexd/apexservice.cpp b/apexd/apexservice.cpp
index 13d2113..c49df0c 100644
--- a/apexd/apexservice.cpp
+++ b/apexd/apexservice.cpp
@@ -281,10 +281,7 @@
const ApexFile& apexFile) {
return std::find_if(list.begin(), list.end(),
[&apexFile](const ApexFile& listFile) {
- return apexFile.GetManifest().name().compare(
- listFile.GetManifest().name()) == 0 &&
- apexFile.GetManifest().version() ==
- listFile.GetManifest().version();
+ return apexFile.GetPath() == listFile.GetPath();
}) != list.end();
}