Fix another crash in the settings
This commit is contained in:
parent
675a2ff05d
commit
ae8f1328b7
1 changed files with 3 additions and 3 deletions
|
@ -369,12 +369,12 @@ public class LinphonePreferences {
|
|||
}
|
||||
|
||||
public void deleteAccount(int n) {
|
||||
LinphoneProxyConfig proxyCfg = getProxyConfig(n);
|
||||
if (proxyCfg != null)
|
||||
getLc().removeProxyConfig(proxyCfg);
|
||||
LinphoneAuthInfo authInfo = getAuthInfo(n);
|
||||
if (authInfo != null)
|
||||
getLc().removeAuthInfo(authInfo);
|
||||
LinphoneProxyConfig proxyCfg = getProxyConfig(n);
|
||||
if (proxyCfg != null)
|
||||
getLc().removeProxyConfig(proxyCfg);
|
||||
}
|
||||
// End of accounts settings
|
||||
|
||||
|
|
Loading…
Reference in a new issue