Fix error in login function
This commit is contained in:
parent
3bd37b4db5
commit
9ba52627de
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ public class LinphoneLoginFragment extends Fragment implements CompoundButton.On
|
||||||
String dial = null;
|
String dial = null;
|
||||||
if (phone != null && phone.length() > 0)
|
if (phone != null && phone.length() > 0)
|
||||||
dial = accountCreator.getPrefix(phone);
|
dial = accountCreator.getPrefix(phone);
|
||||||
AssistantActivity.instance().linphoneLogIn(login.getText().toString(), password.getText().toString(), dial, null, getResources().getBoolean(R.bool.assistant_account_validation_mandatory));
|
AssistantActivity.instance().linphoneLogIn(login.getText().toString(), password.getText().toString(), null, dial, getResources().getBoolean(R.bool.assistant_account_validation_mandatory));
|
||||||
} else {
|
} else {
|
||||||
LinphoneUtils.displayErrorAlert(LinphoneUtils.errorForStatus(status), AssistantActivity.instance());
|
LinphoneUtils.displayErrorAlert(LinphoneUtils.errorForStatus(status), AssistantActivity.instance());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue