mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
Fix multiple proxy
This commit is contained in:
parent
c584e1eab4
commit
b4afa20a98
1 changed files with 1 additions and 2 deletions
|
|
@ -1096,9 +1096,8 @@ public class LinphoneManager implements CoreListener, SensorEventListener, Accou
|
|||
// TODO workaround multiple proxy
|
||||
ProxyConfig prx = lc.getProxyConfigList()[0];
|
||||
for (ProxyConfig tmp : lc.getProxyConfigList()) {
|
||||
lc.removeProxyConfig(tmp);
|
||||
if (prx != tmp) lc.removeProxyConfig(tmp);
|
||||
}
|
||||
if (prx != null) lc.addProxyConfig(prx);
|
||||
//TODO
|
||||
|
||||
initLiblinphone(lc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue