mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-21 21:58:09 +00:00
Check proxy existance before getting the domain
This commit is contained in:
parent
aa7f3abae9
commit
b1dcfb2b7b
1 changed files with 2 additions and 1 deletions
|
|
@ -577,7 +577,8 @@ public class LinphonePreferences {
|
|||
}
|
||||
|
||||
public String getAccountDomain(int n) {
|
||||
return getProxyConfig(n).getDomain();
|
||||
LinphoneProxyConfig proxyConf = getProxyConfig(n);
|
||||
return (proxyConf != null) ? proxyConf.getDomain() : "";
|
||||
}
|
||||
|
||||
public void setAccountProxy(int n, String proxy) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue