mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Propagate LinphoneProxyConfig interface change
This commit is contained in:
parent
094fbc34c2
commit
f42c347ebd
2 changed files with 3 additions and 7 deletions
|
|
@ -400,12 +400,8 @@ public class LinphonePreferences {
|
|||
|
||||
public void setAccountEnabled(int n, boolean enabled) {
|
||||
LinphoneProxyConfig prxCfg = getProxyConfig(n);
|
||||
try {
|
||||
prxCfg.enableRegister(enabled);
|
||||
prxCfg.done();
|
||||
} catch (LinphoneCoreException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
prxCfg.enableRegister(enabled);
|
||||
prxCfg.done();
|
||||
|
||||
// If default proxy config is disabled, try to set another one as default proxy
|
||||
if (!enabled && getLc().getDefaultProxyConfig().getIdentity().equals(prxCfg.getIdentity())) {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit ca272c15df692bb5fbaf4c6a242cd5ecaac47bb2
|
||||
Subproject commit 8367c0fef2688095699cc1d570be91c69b333a83
|
||||
Loading…
Add table
Reference in a new issue