Commit 6e8e0094 authored by jehan's avatar jehan
Browse files

fix Adroid compilation issue

parent 866af779
......@@ -1539,14 +1539,6 @@ extern "C" jstring Java_org_linphone_core_LinphoneAddressImpl_getDomain(JNIEnv*
return NULL;
}
}
extern "C" void Java_org_linphone_core_LinphoneAddressImpl_setDomain(JNIEnv* env
,jobject thiz
,jlong ptr
,jstring jdomain) {
const char* domain = env->GetStringUTFChars(jdomain, NULL);
linphone_address_set_domain((LinphoneAddress*)ptr, domain);
env->ReleaseStringUTFChars(jdomain, domain);
}
extern "C" jstring Java_org_linphone_core_LinphoneAddressImpl_toString(JNIEnv* env
,jobject thiz
,jlong ptr) {
......
......@@ -33,7 +33,6 @@ public class LinphoneAddressImpl implements LinphoneAddress {
private native void setDomain(long ptr,String domain);
private native void setUserName(long ptr,String username);
private native String toString(long ptr);
private native void setDomain(long ptr, String domain);
protected LinphoneAddressImpl(String identity) throws LinphoneCoreException{
nativePtr = newLinphoneAddressImpl(identity, null);
......
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