From 9cbccee8de5686fcfed41717429c4130d13d7ee8 Mon Sep 17 00:00:00 2001 From: Margaux Clerc Date: Mon, 29 Aug 2016 16:21:19 +0200 Subject: [PATCH] Fix account creator method --- .../org/linphone/core/LinphoneAccountCreatorImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/impl/org/linphone/core/LinphoneAccountCreatorImpl.java b/java/impl/org/linphone/core/LinphoneAccountCreatorImpl.java index 2048ee8c6..026c54d0c 100644 --- a/java/impl/org/linphone/core/LinphoneAccountCreatorImpl.java +++ b/java/impl/org/linphone/core/LinphoneAccountCreatorImpl.java @@ -166,16 +166,16 @@ public class LinphoneAccountCreatorImpl implements LinphoneAccountCreator { return Status.fromInt(activateAccount(nativePtr)); } - private native int linkPhoneNumberWithAccount(long ptr); + private native int isAccountActivated(long ptr); @Override public Status isAccountActivated() { - return Status.fromInt(linkPhoneNumberWithAccount(nativePtr)); + return Status.fromInt(isAccountActivated(nativePtr)); } - private native int isAccounlinkPhoneNumberWithAccounttUsed(long ptr); + private native int linkPhoneNumberWithAccount(long ptr); @Override public Status linkPhoneNumberWithAccount() { - return Status.fromInt(isAccounlinkPhoneNumberWithAccounttUsed(nativePtr)); + return Status.fromInt(linkPhoneNumberWithAccount(nativePtr)); } private native int activatePhoneNumberLink(long ptr);