Fix phone number popup

This commit is contained in:
Erwan Croze 2017-05-22 10:41:20 +02:00
parent 2ade97dbb0
commit 7b3a21c4b9

View file

@ -1946,7 +1946,11 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
public void onAccountCreatorPhoneAccountRecovered(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.RequestStatus status) {}
@Override
public void onAccountCreatorIsAccountLinked(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.RequestStatus status) {}
public void onAccountCreatorIsAccountLinked(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.RequestStatus status) {
if (status.equals(LinphoneAccountCreator.RequestStatus.AccountNotLinked)) {
askLinkWithPhoneNumber();
}
}
@Override
public void onAccountCreatorIsPhoneNumberUsed(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.RequestStatus status) {}