Fix linphone login
This commit is contained in:
parent
08aa6ecc8a
commit
a77d5a23bd
2 changed files with 1 additions and 3 deletions
|
@ -388,7 +388,7 @@ private static AssistantActivity instance;
|
||||||
}
|
}
|
||||||
accountCreated = true;
|
accountCreated = true;
|
||||||
} catch (LinphoneCoreException e) {
|
} 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;
|
return;
|
||||||
}
|
}
|
||||||
if (status.equals(LinphoneAccountCreator.RequestStatus.AccountExist) || status.equals(LinphoneAccountCreator.RequestStatus.AccountExistWithAlias)) {
|
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);
|
AssistantActivity.instance().linphoneLogIn(accountCreator);
|
||||||
} else {
|
} else {
|
||||||
LinphoneUtils.displayErrorAlert(LinphoneUtils.errorForRequestStatus(status), AssistantActivity.instance());
|
LinphoneUtils.displayErrorAlert(LinphoneUtils.errorForRequestStatus(status), AssistantActivity.instance());
|
||||||
|
|
Loading…
Reference in a new issue