Fix debug mode setting changes not applies until app restart
This commit is contained in:
parent
61ac3f2b30
commit
452a8b857e
1 changed files with 1 additions and 1 deletions
|
@ -965,8 +965,8 @@ public class LinphonePreferences {
|
||||||
// Advanced settings
|
// Advanced settings
|
||||||
public void setDebugEnabled(boolean enabled) {
|
public void setDebugEnabled(boolean enabled) {
|
||||||
getConfig().setBool("app", "debug", enabled);
|
getConfig().setBool("app", "debug", enabled);
|
||||||
LinphoneCoreFactory.instance().setDebugMode(enabled, getString(R.string.app_name));
|
|
||||||
LinphoneCoreFactory.instance().enableLogCollection(enabled);
|
LinphoneCoreFactory.instance().enableLogCollection(enabled);
|
||||||
|
LinphoneCoreFactory.instance().setDebugMode(enabled, getString(R.string.app_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isDebugEnabled() {
|
public boolean isDebugEnabled() {
|
||||||
|
|
Loading…
Reference in a new issue