Commit a3bc9e44 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed old java wrapper compilation

parent 403053f1
......@@ -3148,7 +3148,7 @@ extern "C" void Java_org_linphone_core_LinphoneAuthInfoImpl_setUsername
*/
extern "C" void Java_org_linphone_core_LinphoneAuthInfoImpl_setAlgorithm
(JNIEnv *env, jobject, jlong auth_info, jstring jalgorithm) {
const char* username = GetStringUTFChars(env, jalgorithm);
const char* algorithm = GetStringUTFChars(env, jalgorithm);
linphone_auth_info_set_algorithm((LinphoneAuthInfo*)auth_info,algorithm);
ReleaseStringUTFChars(env, jalgorithm, algorithm);
}
......
......@@ -20,7 +20,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
package org.linphone.core.tools;
import org.linphone.core.Core;
import org.linphone.core.tools.DozeReceiver;
import org.linphone.core.tools.NetworkManager;
import org.linphone.core.tools.NetworkManagerAbove21;
......
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