Fix:
No longer ask for phone numbers for domains that are not linphone.org
This commit is contained in:
parent
9f0545ee9b
commit
eb239aea2b
1 changed files with 2 additions and 1 deletions
|
@ -224,7 +224,8 @@ public class LinphoneActivity extends LinphoneGenericActivity implements OnClick
|
|||
|
||||
refreshAccounts();
|
||||
|
||||
if(getResources().getBoolean(R.bool.use_phone_number_validation)) {
|
||||
if(getResources().getBoolean(R.bool.use_phone_number_validation)
|
||||
&& proxy.getDomain().equals(getString(R.string.default_domain))) {
|
||||
if (state.equals(RegistrationState.RegistrationOk)) {
|
||||
LinphoneManager.getInstance().isAccountWithAlias();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue