Fixed crash when going into account settings
This commit is contained in:
parent
d9f6a045ed
commit
11b77c269b
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ public class AccountPreferencesFragment extends PreferencesListFragment implemen
|
||||||
if (LinphoneManager.getLcIfManagerNotDestroyedOrNull() != null &&
|
if (LinphoneManager.getLcIfManagerNotDestroyedOrNull() != null &&
|
||||||
LinphoneManager.getLc().getProxyConfigList() != null &&
|
LinphoneManager.getLc().getProxyConfigList() != null &&
|
||||||
LinphoneManager.getLc().getProxyConfigList().length > n) {
|
LinphoneManager.getLc().getProxyConfigList().length > n) {
|
||||||
proxyConfig = (LinphoneProxyConfig) LinphoneManager.getLc().getProxyConfigList()[n].getNatPolicy();
|
proxyConfig = (LinphoneProxyConfig) LinphoneManager.getLc().getProxyConfigList()[n];
|
||||||
}
|
}
|
||||||
|
|
||||||
accountCreator = LinphoneCoreFactory.instance().createAccountCreator(LinphoneManager.getLc()
|
accountCreator = LinphoneCoreFactory.instance().createAccountCreator(LinphoneManager.getLc()
|
||||||
|
|
Loading…
Reference in a new issue