summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linker/linker.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index e12a28c2b..fafead467 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -2165,9 +2165,13 @@ void* do_dlopen(const char* name, int flags,
new_name);
// Some APEXs could be optionally disabled. Only translate the path
// when the old file is absent and the new file exists.
+ // TODO(b/124218500): Re-enable it once app compat issue is resolved
+ /*
if (file_exists(name)) {
LD_LOG(kLogDlopen, "dlopen %s exists, not translating", name);
- } else if (!file_exists(new_name)) {
+ } else
+ */
+ if (!file_exists(new_name)) {
LD_LOG(kLogDlopen, "dlopen %s does not exist, not translating",
new_name);
} else {