Fix recover account with phone number on first launch

This commit is contained in:
Erwan Croze 2017-05-31 17:09:51 +02:00
parent d522d33ae0
commit 56c809bfe9

View file

@ -255,6 +255,7 @@ public class LinphoneLoginFragment extends Fragment implements CompoundButton.On
int status = getPhoneNumberStatus();
boolean isOk = status == LinphoneAccountCreator.PhoneNumberCheck.Ok.value();
if (isOk) {
LinphoneManager.getLc().getConfig().loadXmlFile(LinphoneManager.getInstance().getmDynamicConfigFile());
accountCreator.isPhoneNumberUsed();
} else {
apply.setEnabled(true);