Commit 6429f520 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Removed LinphoneFriendList.closeSubscriptions method from JNI wrapper

parent 08e0384a
......@@ -3458,10 +3458,6 @@ extern "C" jobjectArray Java_org_linphone_core_LinphoneFriendListImpl_getFriendL
return jFriends;
}
extern "C" void Java_org_linphone_core_LinphoneFriendListImpl_closeSubscriptions(JNIEnv* env, jobject thiz, jlong friendListptr) {
linphone_friend_list_close_subscriptions((LinphoneFriendList*)friendListptr);
}
extern "C" void Java_org_linphone_core_LinphoneFriendListImpl_updateSubscriptions(JNIEnv* env
,jobject thiz
,jlong friendListptr
......
......@@ -28,7 +28,6 @@ public interface LinphoneFriendList {
public void addLocalFriend(LinphoneFriend friend);
public LinphoneFriend[] getFriendList();
public void updateSubscriptions(LinphoneProxyConfig proxyConfig,boolean onlyWhenRegistered);
public void closeSubscriptions();
public void enableSubscriptions(boolean enable);
public LinphoneFriend findFriendByUri(String uri);
public void setUri(String uri);
......
......@@ -30,7 +30,6 @@ class LinphoneFriendListImpl implements LinphoneFriendList, Serializable {
private native void addLocalFriend(long nativePtr, long friendPtr);
private native LinphoneFriend[] getFriendList(long nativePtr);
private native void updateSubscriptions(long nativePtr, long proxyConfigPtr, boolean onlyWhenRegistered);
private native void closeSubscriptions(long nativePtr);
private native void enableSubscriptions(long nativePtr, boolean enable);
private native Object getCore(long ptr);
private native LinphoneFriend findFriendByUri(long nativePtr, String uri);
......@@ -75,13 +74,6 @@ class LinphoneFriendListImpl implements LinphoneFriendList, Serializable {
}
}
@Override
public void closeSubscriptions() {
synchronized(getSyncObject()) {
closeSubscriptions(nativePtr);
}
}
@Override
public void enableSubscriptions(boolean enable) {
synchronized(getSyncObject()) {
......
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