mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix account creator method
This commit is contained in:
parent
26096fd394
commit
9cbccee8de
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue