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);