Removed usage of uag_current_set() API call

This commit is contained in:
Juha Heinanen
2021-01-15 11:10:37 +02:00
parent 0e68318243
commit 182e160351
3 changed files with 0 additions and 13 deletions

View File

@ -1174,16 +1174,6 @@ Java_com_tutpro_baresip_Api_ua_1account(JNIEnv *env, jobject thiz, jstring javaU
return (*env)->NewStringUTF(env, acc_buf);
}
JNIEXPORT void JNICALL
Java_com_tutpro_baresip_Api_uag_1current_1set(JNIEnv *env, jobject thiz, jstring javaUA)
{
const char *native_ua = (*env)->GetStringUTFChars(env, javaUA, 0);
struct ua *ua = (struct ua *)strtoul(native_ua, NULL, 10);
(*env)->ReleaseStringUTFChars(env, javaUA, native_ua);
LOGD("running uag_current_set on %s\n", native_ua);
uag_current_set(ua);
}
JNIEXPORT void JNICALL
Java_com_tutpro_baresip_Api_ua_1hangup(JNIEnv *env, jobject thiz,
jstring javaUA, jstring javaCall, jint code,