mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-05-02 05:26:25 +00:00
Fix linphonePReferences
This commit is contained in:
parent
c1d82ccb3c
commit
468e996bb2
1 changed files with 2 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ public class LinphonePreferences {
|
||||||
|
|
||||||
public boolean isAccountDeleted(int n){
|
public boolean isAccountDeleted(int n){
|
||||||
LinphoneProxyConfig proxyConfig = getProxyConfig(n);
|
LinphoneProxyConfig proxyConfig = getProxyConfig(n);
|
||||||
return proxyConfig.getIsDeleted();
|
return proxyConfig.getUserData() != null ? (Boolean) proxyConfig.getUserData() : false ;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAccountTransport(int n, String transport) {
|
public void setAccountTransport(int n, String transport) {
|
||||||
|
|
@ -699,7 +699,7 @@ public class LinphonePreferences {
|
||||||
proxyCfg.enableRegister(false);
|
proxyCfg.enableRegister(false);
|
||||||
proxyCfg.done();
|
proxyCfg.done();
|
||||||
|
|
||||||
proxyCfg.setIsDeleted(true);
|
proxyCfg.setUserData(true);
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue