Fixed wifi only
This commit is contained in:
parent
cd4f824521
commit
f6115014d8
1 changed files with 2 additions and 2 deletions
|
@ -437,12 +437,12 @@ public class LinphonePreferences {
|
||||||
// End of call settings
|
// End of call settings
|
||||||
|
|
||||||
public boolean isWifiOnlyEnabled() {
|
public boolean isWifiOnlyEnabled() {
|
||||||
return getConfig().getBool("app", "wifi_only", false);
|
return getLc().wifiOnlyEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Network settings
|
// Network settings
|
||||||
public void setWifiOnlyEnabled(Boolean enable) {
|
public void setWifiOnlyEnabled(Boolean enable) {
|
||||||
getConfig().setBool("app", "wifi_only", enable);
|
getLc().enableWifiOnly(enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void useRandomPort(boolean enabled) {
|
public void useRandomPort(boolean enabled) {
|
||||||
|
|
Loading…
Reference in a new issue