Skip to content
Snippets Groups Projects
Commit d6824a4f authored by pedroGitt's avatar pedroGitt
Browse files

Revert loadLibrary as static.

parent b0fc867b
No related branches found
No related tags found
No related merge requests found
......@@ -16,13 +16,16 @@
package org.matrix.olm;
import android.util.Log;
/**
* Olm SDK entry point class.<br> An OlmManager instance must be created at first to enable native library load.
* <br><br>Detailed implementation guide is available at <a href="http://matrix.org/docs/guides/e2e_implementation.html">Implementing End-to-End Encryption in Matrix clients</a>.
*/
public class OlmManager {
private static final String LOG_TAG = "OlmManager";
public OlmManager() {
static {
try {
java.lang.System.loadLibrary("olm");
} catch(UnsatisfiedLinkError e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment