Fix linphone login
This commit is contained in:
parent
0b9680f054
commit
af1115a815
2 changed files with 1 additions and 3 deletions
|
@ -388,7 +388,7 @@ private static AssistantActivity instance;
|
|||
}
|
||||
accountCreated = true;
|
||||
} catch (LinphoneCoreException e) {
|
||||
Log.e("Canno't configure proxy config ", e);
|
||||
Log.e("Can't configure proxy config ", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -327,8 +327,6 @@ public class LinphoneLoginFragment extends Fragment implements CompoundButton.On
|
|||
return;
|
||||
}
|
||||
if (status.equals(LinphoneAccountCreator.RequestStatus.AccountExist) || status.equals(LinphoneAccountCreator.RequestStatus.AccountExistWithAlias)) {
|
||||
String phone = accountCreator.getPhoneNumber();
|
||||
if (phone != null && phone.length() > 0)
|
||||
AssistantActivity.instance().linphoneLogIn(accountCreator);
|
||||
} else {
|
||||
LinphoneUtils.displayErrorAlert(LinphoneUtils.errorForRequestStatus(status), AssistantActivity.instance());
|
||||
|
|
Loading…
Reference in a new issue