diff options
-rw-r--r-- | remoting/client/jni/chromoting_jni_onload.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/client/jni/chromoting_jni_onload.cc b/remoting/client/jni/chromoting_jni_onload.cc index e82b757..fa5539e 100644 --- a/remoting/client/jni/chromoting_jni_onload.cc +++ b/remoting/client/jni/chromoting_jni_onload.cc @@ -5,6 +5,7 @@ #include "base/android/base_jni_registrar.h" #include "base/android/jni_android.h" #include "base/android/jni_registrar.h" +#include "base/android/jni_utils.h" #include "net/android/net_jni_registrar.h" #include "remoting/client/jni/chromoting_jni_runtime.h" #include "ui/gfx/android/gfx_jni_registrar.h" @@ -26,6 +27,9 @@ JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { return -1; } + base::android::InitReplacementClassLoader(env, + base::android::GetClassLoader(env)); + return JNI_VERSION_1_4; } |