diff options
| author | Pirama Arumuga Nainar <pirama@google.com> | 2015-01-16 22:22:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-16 22:22:34 +0000 |
| commit | 5c6002cc19cc3f1beffd204fd6cbca8bd75c0012 (patch) | |
| tree | e8cb3d37e8c88bbc2392bdfa7dd473a9ba02402b /cpu_ref/rsCpuScript.cpp | |
| parent | 3e3fbed52a47a9e3118f9df6bab6d45859138520 (diff) | |
| parent | b5215a52df4402a8a513c3dc65d06b9bd46e879d (diff) | |
Merge "Turn on .so path by default"
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
| -rw-r--r-- | cpu_ref/rsCpuScript.cpp | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index 462c1612..cfb6da26 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -245,26 +245,8 @@ static void *loadSharedLibrary(const char *cacheDir, const char *resName) { #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() { |
