Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b04aa125 authored by Jeff Tinker's avatar Jeff Tinker Committed by Android (Google) Code Review
Browse files

Merge "Fix plugin loading"

parents a6f38cc3 bdbe7ca3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ class PluginLoader {
            while ((pEntry = readdir(pDir))) {
                String8 file(pEntry->d_name);
                if (file.getPathExtension() == ".so") {
                    String8 path = pluginDir + pEntry->d_name;
                    String8 path = pluginDir + "/" + pEntry->d_name;
                    T *plugin = loadOne(path, entry);
                    if (plugin) {
                        factories.push(plugin);
@@ -77,7 +77,8 @@ class PluginLoader {
                libraries.push(library);
                return createFactoryFunc();
            } else {
                ALOGE("Failed to create plugin factory from %s", path);
                ALOGE("Failed to create plugin factory from %s at entry %s: %s",
                        path, entry, library->lastError());
            }
        }
        return NULL;