Turn on .so path by default
Bug: 18322681
If there are problems in the .so loading path, you can turn it off by
having is_skip_linkloader() return false.
Change-Id: I31ae2d8a65f70005f4d749f9ecbe55ae6f153d8c
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp
index 462c161..cfb6da2 100644
--- a/cpu_ref/rsCpuScript.cpp
+++ b/cpu_ref/rsCpuScript.cpp
@@ -245,26 +245,8 @@
#ifndef RS_COMPATIBILITY_LIB
-static bool is_skip_linkloader() {
- char buf[PROPERTY_VALUE_MAX];
- static bool initialized = false;
- static bool prop = false;
-
- if (initialized) {
- return prop;
- }
-
- property_get("rs.skip.linkloader", buf, "");
- prop = (buf[0] != '\0');
- initialized = true;
-
- if (prop) {
- ALOGV("Skipping linkloader");
- }
- else {
- ALOGV("Default path: using linkloader");
- }
- return prop;
+static inline bool is_skip_linkloader() {
+ return true;
}
static bool is_force_recompile() {