Commit 91d14a29 authored by Mickaël Turnel's avatar Mickaël Turnel

Fix missing var in constructor

parent b54f55cd
......@@ -102,8 +102,8 @@ AndroidPlatformHelpers::AndroidPlatformHelpers (LinphoneCore *lc, void *systemCo
if (!klass)
lFatal() << "Could not find java AndroidPlatformHelper class.";
jmethodID ctor = env->GetMethodID(klass, "<init>", "(JLjava/lang/Object;)V");
mJavaHelper = env->NewObject(klass, ctor, this, (jobject)systemContext);
jmethodID ctor = env->GetMethodID(klass, "<init>", "(JLjava/lang/Object;Z)V");
mJavaHelper = env->NewObject(klass, ctor, this, (jobject)systemContext, (jboolean)linphone_core_wifi_only_enabled(lc));
if (!mJavaHelper) {
lError() << "Could not instanciate AndroidPlatformHelper object.";
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment